import type { Meta, StoryObj } from '@storybook/react-vite'; import { Story } from './_internal/Story'; import { Grid } from './Grid'; import { Text } from './Text'; const meta = { component: Grid, parameters: { layout: 'fullscreen', }, title: 'components/Grid', } satisfies Meta; export default meta; type StoryDefinition = StoryObj; function Item({ children }: { children: string }) { return ( {children} ); } export const All: StoryDefinition = { render: () => ( {['One', 'Two', 'Three', 'Four', 'Five', 'Six'].map((label) => ( {label} ))} {['A', 'B', 'C', 'D', 'E', 'F'].map((label) => ( {label} ))} Centered track Stretched item {['One', 'Two', 'Three', 'Four'].map((label) => ( {label} ))} ), };