generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: minor tweaks to module type filter (#2879)
![Screenshot 2024-09-27 at 12 55 50 PM](https://github.com/user-attachments/assets/6e621a1e-371e-40cc-85a0-f58e42d0b173) ![Screenshot 2024-09-27 at 12 55 59 PM](https://github.com/user-attachments/assets/2f04d56e-9a39-4ffe-948b-be58d3e1f719)
- Loading branch information
1 parent
94c0737
commit 9948608
Showing
4 changed files
with
64 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
interface DividerProps { | ||
vertical?: boolean | ||
className?: string | ||
} | ||
|
||
export const Divider: React.FC<DividerProps> = ({ vertical = false, className }) => { | ||
const baseClass = vertical ? 'border-l' : 'border-t' | ||
|
||
return <div className={`${baseClass} border-gray-100 dark:border-gray-700/50 ${className}`} /> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters