import { Meta, StoryObj } from '@storybook/react'; import { styled } from 'styled-components'; import { BoxLayout } from '../..'; const meta: Meta = { title: 'Opize Component/Layout/BoxLayout', tags: ['autodocs'], component: BoxLayout, parameters: { layout: 'fullscreen', }, argTypes: { gutter: { control: { type: 'text', }, }, width: { control: { type: 'text', }, }, minHeight: { control: { type: 'text', }, }, backgroundColor: { control: { type: 'color', }, }, }, }; export default meta; type Story = StoryObj; const Blank = styled.div<{ height: number }>` background-color: #363636; width: 100%; color: #ffffff; height: ${(props) => props.height}px; display: flex; align-items: center; justify-content: center; `; export const Primary: Story = { args: { gutter: '24px', width: '1200px', }, render: (args) => ( BoxLayout ), };