MCPcopy Create free account
hub / github.com/code-with-antonio/nodebase / EmptyHeader

Function EmptyHeader

src/components/ui/empty.tsx:18–29  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"div">)

Source from the content-addressed store, hash-verified

16}
17
18function EmptyHeader({ className, ...props }: React.ComponentProps<"div">) {
19 return (
20 <div
21 data-slot="empty-header"
22 className={cn(
23 "flex max-w-sm flex-col items-center gap-2 text-center",
24 className
25 )}
26 {...props}
27 />
28 )
29}
30
31const emptyMediaVariants = cva(
32 "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0",

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected