aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorcodetorso <[email protected]>2024-07-19 02:18:38 +0530
committercodetorso <[email protected]>2024-07-19 02:18:38 +0530
commiteea321f3ee4908db6f099d05f5f97c5c5098a783 (patch)
tree413af08d828ca45c86250b69a156cd7dd233c559 /packages
parentrecent searches feature and some other cool stuff (diff)
downloadsupermemory-eea321f3ee4908db6f099d05f5f97c5c5098a783.tar.xz
supermemory-eea321f3ee4908db6f099d05f5f97c5c5098a783.zip
skeleton loaders for recent chats
Diffstat (limited to 'packages')
-rw-r--r--packages/ui/shadcn/skeleton.tsx15
1 files changed, 15 insertions, 0 deletions
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 }