Function
ItemMedia
({
className,
variant = "default",
...props
}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>)
Source from the content-addressed store, hash-verified
| 84 | ); |
| 85 | |
| 86 | function ItemMedia({ |
| 87 | className, |
| 88 | variant = "default", |
| 89 | ...props |
| 90 | }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>) { |
| 91 | return ( |
| 92 | <div |
| 93 | data-slot="item-media" |
| 94 | data-variant={variant} |
| 95 | className={cn(itemMediaVariants({ variant, className }))} |
| 96 | {...props} |
| 97 | /> |
| 98 | ); |
| 99 | } |
| 100 | |
| 101 | function ItemContent({ className, ...props }: React.ComponentProps<"div">) { |
| 102 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected