From 7e279a535d1722ce6e32a6b0c4a84b5639d8c859 Mon Sep 17 00:00:00 2001 From: Sebastien Castiel Date: Thu, 14 Dec 2023 12:34:15 -0500 Subject: Improve loading states --- src/components/ui/skeleton.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/components/ui/skeleton.tsx (limited to 'src/components') diff --git a/src/components/ui/skeleton.tsx b/src/components/ui/skeleton.tsx new file mode 100644 index 0000000..01b8b6d --- /dev/null +++ b/src/components/ui/skeleton.tsx @@ -0,0 +1,15 @@ +import { cn } from "@/lib/utils" + +function Skeleton({ + className, + ...props +}: React.HTMLAttributes) { + return ( +
+ ) +} + +export { Skeleton } -- cgit v1.3