Skip to content
Source
Sign inSign up
fuko/trytanstackdb.com
Open History to see the last commit

skeleton.tsx

13 lines290 Bytes

1import { cn } from "@/lib/utils";
2​
3function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
4 return (
5 <div
6 data-slot="skeleton"
7 className={cn("bg-skeleton animate-skeleton-pulse rounded-md", className)}
8 {...props}
9 />
10 );
12​
13export { Skeleton };