skeleton.tsx raw

   1  import { cn } from "src/lib/utils";
   2  
   3  function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
   4    return (
   5      <div
   6        data-slot="skeleton"
   7        className={cn("animate-pulse rounded-md bg-accent", className)}
   8        {...props}
   9      />
  10    );
  11  }
  12  
  13  export { Skeleton };
  14