All files / src/ahuora-design-system/ui skeleton-t.tsx

88.88% Statements 8/9
66.66% Branches 2/3
100% Functions 1/1
83.33% Lines 5/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16    2x     6x   2x 4x   6x          
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 };