MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / ItemMedia

Function ItemMedia

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

Source from the content-addressed store, hash-verified

84);
85
86function 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
101function ItemContent({ className, ...props }: React.ComponentProps<"div">) {
102 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected