import type { Meta, StoryFn } from '@storybook/react'; import { Table, TableBody, TableBodyRow, TableCell, TableHead, TableHeadRow, } from './index'; export default { title: 'UI/Table', component: Table, } satisfies Meta; const Template: StoryFn = args => ( Title 1 Title 2 Title 3 Title 4 {Array.from({ length: 10 }).map((_, rowNum) => { return ( {Array.from({ length: 4 }).map((_, colNum) => { return ( Cell {rowNum}-{colNum} ); })} ); })}
); export const Default: StoryFn = Template.bind(undefined);