MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / Skeleton

Function Skeleton

apps/ui/src/components/ui/skeleton.tsx:3–11  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected