import React from "react"; import type { Meta, StoryObj } from "@storybook/react"; import { Table, TableHeader, TableRow, TableCell } from "../../../components"; const meta: Meta = { title: "Table", component: Table, }; export default meta; type Story = StoryObj; const primary: Story = { name: "default", render: (_args) => ( Date Amount First 6 weeks £109.80 per week Next 33 weeks £109.80 per week Total estimated pay £4,282.20
), }; const customCaptionSize: Story = { name: "custom caption size", render: (_args) => ( Month you apply Rate for vehicles January £95 February £55 March £215
), }; const numbers: Story = { name: "numbers in a table", render: (_args) => ( Month you apply Rate for bikes Rate for vehicles January £85 £95 February £75 £55 March £165 £125
), }; const customColumnWidth: Story = { name: "custom column width", render: (_args) => ( Date Rate for vehicles Rate for bicycles First 6 weeks £109.80 per week £59.10 per week Next 33 weeks £159.80 per week £89.10 per week Total estimated pay £4,282.20 £2,182.20
), }; export { primary, customCaptionSize, numbers, customColumnWidth };