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

Function EmptyMedia

src/components/ui/empty.tsx:46–59  ·  view source on GitHub ↗
({
  className,
  variant = "default",
  ...props
}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>)

Source from the content-addressed store, hash-verified

44)
45
46function EmptyMedia({
47 className,
48 variant = "default",
49 ...props
50}: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>) {
51 return (
52 <div
53 data-slot="empty-icon"
54 data-variant={variant}
55 className={cn(emptyMediaVariants({ variant, className }))}
56 {...props}
57 />
58 )
59}
60
61function EmptyTitle({ className, ...props }: React.ComponentProps<"div">) {
62 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected