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

Function ItemMedia

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

Source from the content-addressed store, hash-verified

89)
90
91function ItemMedia({
92 className,
93 variant = "default",
94 ...props
95}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>) {
96 return (
97 <div
98 data-slot="item-media"
99 data-variant={variant}
100 className={cn(itemMediaVariants({ variant, className }))}
101 {...props}
102 />
103 )
104}
105
106function ItemContent({ className, ...props }: React.ComponentProps<"div">) {
107 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected