draupnir4all-web

git clone git://archive.git.mtrnord.blog/MTRNord/draupnir4all-web.git
Log | Files | Refs | README | LICENSE

skeleton.tsx (294B)


      1 import { cn } from "@/lib/utils"
      2 import { HTMLAttributes } from "react"
      3 
      4 function Skeleton({
      5   className,
      6   ...props
      7 }: HTMLAttributes<HTMLDivElement>) {
      8   return (
      9     <div
     10       className={cn("animate-pulse rounded-md bg-muted", className)}
     11       {...props}
     12     />
     13   )
     14 }
     15 
     16 export { Skeleton }