Files
web/components/TempDesignSystem/Grids/Stackable/index.tsx
Matilda Landström bb422f804d Merged in feat/card-grid-ui (pull request #332)
Feat/card grid ui

Approved-by: Simon.Emanuelsson
2024-07-09 11:16:44 +00:00

12 lines
354 B
TypeScript

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