Skip to content

Commit

Permalink
add(skeleton): from shadcn/ui
Browse files Browse the repository at this point in the history
  • Loading branch information
Lordfirespeed committed Sep 29, 2024
1 parent 48f1a74 commit a97c31d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/components/ui/skeleton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as React from "react"

import { cn } from "@/lib/utils"

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

export { Skeleton }

0 comments on commit a97c31d

Please sign in to comment.