Spaces:
Running
Running
Download src/components/ui/skeleton.tsx from Ethscriptions/mx: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/Ethscriptions/mx/resolve/main/src/components/ui/skeleton.tsx
- Command line
-
hf download hf://spaces/Ethscriptions/mx/src/components/ui/skeleton.tsx
-
curl -L -o skeleton.tsx https://huggingface.co/spaces/Ethscriptions/mx/resolve/main/src/components/ui/skeleton.tsx
274 Bytes
| import { cn } from "@/lib/utils" | |
| function Skeleton({ | |
| className, | |
| ...props | |
| }: React.HTMLAttributes<HTMLDivElement>) { | |
| return ( | |
| <div | |
| className={cn("animate-pulse rounded-md bg-[var(--bg-subtle)]", className)} | |
| {...props} | |
| /> | |
| ) | |
| } | |
| export { Skeleton } | |