mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-11 09:38:27 +00:00
18 lines
301 B
TypeScript
18 lines
301 B
TypeScript
import React from "react";
|
|
|
|
import { cn } from "../../lib/utils";
|
|
|
|
function Skeleton({
|
|
className,
|
|
...props
|
|
}: React.HTMLAttributes<HTMLDivElement>) {
|
|
return (
|
|
<div
|
|
className={cn("bg-grayAlpha-200 animate-pulse rounded", className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|
|
|
|
export { Skeleton };
|