diff options
| author | codetorso <[email protected]> | 2024-07-20 07:17:25 +0530 |
|---|---|---|
| committer | codetorso <[email protected]> | 2024-07-20 07:17:25 +0530 |
| commit | 21fe55a96c36892fc50e8198248da825a5a4bd6f (patch) | |
| tree | 83832e20adb0e4acfa529ac624e7f2b914f7a25a /packages/ui | |
| parent | fix links (diff) | |
| download | supermemory-torso.tar.xz supermemory-torso.zip | |
for god's sake this should work ;)torso
Diffstat (limited to 'packages/ui')
| -rw-r--r-- | packages/ui/shadcn/command.tsx | 5 | ||||
| -rw-r--r-- | packages/ui/shadcn/divider.tsx | 7 | ||||
| -rw-r--r-- | packages/ui/shadcn/skeleton.tsx | 15 |
3 files changed, 17 insertions, 10 deletions
diff --git a/packages/ui/shadcn/command.tsx b/packages/ui/shadcn/command.tsx index ed929aa2..9b95f4c7 100644 --- a/packages/ui/shadcn/command.tsx +++ b/packages/ui/shadcn/command.tsx @@ -37,9 +37,8 @@ const CommandDialog = ({ children, ...props }: CommandDialogProps) => { const CommandInput = React.forwardRef< React.ElementRef<typeof CommandPrimitive.Input>, React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input> ->(({ className, ...props }, ref) => ( - <div className="flex items-center px-3" cmdk-input-wrapper=""> - <Search className="mr-2 h-4 w-4 shrink-0 opacity-50" /> +>(({ className , ...props }, ref) => ( + <div className="" cmdk-input-wrapper=""> <CommandPrimitive.Input ref={ref} className={cn( diff --git a/packages/ui/shadcn/divider.tsx b/packages/ui/shadcn/divider.tsx deleted file mode 100644 index a6dc9933..00000000 --- a/packages/ui/shadcn/divider.tsx +++ /dev/null @@ -1,7 +0,0 @@ -import { cn } from "@repo/ui/lib/utils"; - -function Divider({ className }: { className?: string }) { - return <div className={cn("bg-[#2D343A] h-[1px] w-full", className)}></div>; -} - -export default Divider; diff --git a/packages/ui/shadcn/skeleton.tsx b/packages/ui/shadcn/skeleton.tsx new file mode 100644 index 00000000..001c280d --- /dev/null +++ b/packages/ui/shadcn/skeleton.tsx @@ -0,0 +1,15 @@ +import { cn } from "../lib/utils" + +function Skeleton({ + className, + ...props +}: React.HTMLAttributes<HTMLDivElement>) { + return ( + <div + className={cn("animate-pulse rounded-md bg-muted", className)} + {...props} + /> + ) +} + +export { Skeleton } |