1
This commit is contained in:
14
src/components/bs-ui/skeleton/index.tsx
Normal file
14
src/components/bs-ui/skeleton/index.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { cname } from "../utils";
|
||||
|
||||
export default function Skeleton({
|
||||
className,
|
||||
...props
|
||||
}: React.HTMLAttributes<HTMLDivElement>) {
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cname("animate-pulse rounded-md bg-primary/10", className)}
|
||||
{...props}
|
||||
/>
|
||||
)
|
||||
};
|
||||
Reference in New Issue
Block a user