feat(WEB-304): remaning UI from design system primitives
This commit is contained in:
14
components/TempDesignSystem/Grids/Dynamic/Item/index.tsx
Normal file
14
components/TempDesignSystem/Grids/Dynamic/Item/index.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
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} />
|
||||
}
|
||||
Reference in New Issue
Block a user