summaryrefslogtreecommitdiff
path: root/components/ui/skeleton.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'components/ui/skeleton.tsx')
-rw-r--r--components/ui/skeleton.tsx15
1 files changed, 15 insertions, 0 deletions
diff --git a/components/ui/skeleton.tsx b/components/ui/skeleton.tsx
new file mode 100644
index 0000000..01b8b6d
--- /dev/null
+++ b/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 }