Skip to content

Commit

Permalink
[TSK-310] components: skeleton lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maany committed Oct 13, 2024
1 parent 031eced commit ba2f7cb
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions lib/components/ui/skeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
import { cn } from "@/utils/utils"
import { cn } from "@/utils/utils";

function Skeleton({
className,
...props
}: React.HTMLAttributes<HTMLDivElement>) {
return (
<div
className={cn("animate-pulse rounded-md bg-slate-100 dark:bg-slate-800", className)}
className={cn(
"animate-pulse rounded-md bg-slate-100 dark:bg-slate-800",
className,
)}
{...props}
/>
)
);
}

export { Skeleton }
export { Skeleton };

0 comments on commit ba2f7cb

Please sign in to comment.