From 5a3fd2d7573c62467a40c919244d12b468458a38 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 17 Feb 2024 12:39:54 +0000
Subject: ui: Add bookmark card skeleton

---
 packages/web/components/ui/skeleton.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 packages/web/components/ui/skeleton.tsx

(limited to 'packages/web/components/ui/skeleton.tsx')

diff --git a/packages/web/components/ui/skeleton.tsx b/packages/web/components/ui/skeleton.tsx
new file mode 100644
index 00000000..01b8b6d4
--- /dev/null
+++ b/packages/web/components/ui/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 }
-- 
cgit v1.2.3-70-g09d2

