Download src/components/ui/skeleton.tsx from simikkk/test8: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/simikkk/test8/resolve/main/src/components/ui/skeleton.tsx
- Command line
-
hf download hf://spaces/simikkk/test8/src/components/ui/skeleton.tsx
-
curl -L -o skeleton.tsx https://huggingface.co/spaces/simikkk/test8/resolve/main/src/components/ui/skeleton.tsx
276 Bytes
| import { cn } from "@/lib/utils" | |
| function Skeleton({ className, ...props }: React.ComponentProps<"div">) { | |
| return ( | |
| <div | |
| data-slot="skeleton" | |
| className={cn("bg-accent animate-pulse rounded-md", className)} | |
| {...props} | |
| /> | |
| ) | |
| } | |
| export { Skeleton } | |