Upload frontend/src/components/ui/skeleton.tsx with huggingface_hub
Browse files
frontend/src/components/ui/skeleton.tsx
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { cn } from "@/lib/utils";
|
| 2 |
+
|
| 3 |
+
function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
|
| 4 |
+
return <div className={cn("animate-pulse rounded-md bg-primary/10", className)} {...props} />;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
export { Skeleton };
|