import type { Meta, StoryObj } from '@storybook/react-vite'; import Table from './Table'; const meta = { title: 'Components/Table', component: Table, argTypes: { smallscreen: { description: 'The behaviour to use on small screens', children: { control: false }, control: { type: 'select' }, options: [undefined,'boxes', 'scrolling'], type: 'string', } }, args: { children: <> Public holidays in 2020 Date Day Holiday 10 April Friday Good Friday 8 May Friday Early May Bank Holiday 25 May Monday Spring Bank Holiday 3 August Monday Summer Bank Holiday } } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { }; export const Boxes: Story = { args: {smallscreen: 'boxes'} }; export const Scrolling: Story = { args: {smallscreen: 'scrolling'} };