aboutsummaryrefslogtreecommitdiff
path: root/packages/ui
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui')
-rw-r--r--packages/ui/shadcn/command.tsx5
-rw-r--r--packages/ui/shadcn/divider.tsx7
-rw-r--r--packages/ui/shadcn/skeleton.tsx15
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 }