Files
web/components/TempDesignSystem/Grids/Dynamic/Item/index.tsx
2024-06-13 10:00:16 +02:00

15 lines
336 B
TypeScript

import { Slot } from "@radix-ui/react-slot"
import { itemVariants } from "./variants"
import type { ItemProps } from "./item"
export default function Item({ columns, order, rows, ...props }: ItemProps) {
const classNames = itemVariants({
columns,
order,
rows,
})
return <Slot {...props} className={classNames} />
}