Files
web/components/TempDesignSystem/Grids/Stackable/index.tsx
2024-12-12 11:47:44 +01:00

13 lines
360 B
TypeScript

import { stackableGridVariants } from "./variants"
import type { StackableGridProps } from "./stackable"
export default function Stackable({
children,
className,
columns,
}: React.PropsWithChildren<StackableGridProps>) {
const classNames = stackableGridVariants({ className, columns })
return <section className={classNames}>{children}</section>
}