diff options
| author | codetorso <[email protected]> | 2024-07-19 02:18:38 +0530 |
|---|---|---|
| committer | codetorso <[email protected]> | 2024-07-19 02:18:38 +0530 |
| commit | eea321f3ee4908db6f099d05f5f97c5c5098a783 (patch) | |
| tree | 413af08d828ca45c86250b69a156cd7dd233c559 /packages | |
| parent | recent searches feature and some other cool stuff (diff) | |
| download | supermemory-eea321f3ee4908db6f099d05f5f97c5c5098a783.tar.xz supermemory-eea321f3ee4908db6f099d05f5f97c5c5098a783.zip | |
skeleton loaders for recent chats
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/ui/shadcn/skeleton.tsx | 15 |
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 } |