import { Meta, StoryObj } from '@storybook/react'; import { Container, Row, Col } from './GridLayout'; import './GridLayoutStory.scss' const meta: Meta = { title: 'Components/GridLayout', component: Container, parameters: { layout: 'centered', }, tags: ['autodocs'], }; type ContainerStory = StoryObj; const defaultContainerArgs = { fluid: false, gap: '20px', }; export const Grid: ContainerStory = { args: { ...defaultContainerArgs, }, render: (args) => ( <>
Column 1
Column 2
Column 3
Column 4
Column 5
), }; export const Grid2: ContainerStory = { args: { ...defaultContainerArgs, }, render: (args) => ( <>
Column 1 (size 3)
Column 2 (size 6)
Column 3 (size 3)
Column 4 (size 4)
Column 5 (size 4)
Column 6 (size 4)
Full-width column (size 12)
), }; export default meta;