Function
ItemMedia
({
className,
variant = "default",
...props
}: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>)
Source from the content-addressed store, hash-verified
| 89 | ) |
| 90 | |
| 91 | function 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 | |
| 106 | function ItemContent({ className, ...props }: React.ComponentProps<"div">) { |
| 107 | return ( |
Callers
nothing calls this directly
Tested by
no test coverage detected