import type { Story, Meta } from '@storybook/react'; import { KeyValueTable, KeyValueTableRow } from './key-value-table'; export default { component: KeyValueTable, title: 'KeyValueTable', } as Meta; const Template: Story = (args) => ( {'Token address'} {'0x888'} {'Value'} {888} {'Token address'} {'0x888'} ); export const Muted = Template.bind({}); Muted.args = { title: 'Muted table', muted: true, numerical: false, headingLevel: 5, // h5 }; export const Numerical = Template.bind({}); Numerical.args = { title: 'Numerical table', muted: false, numerical: true, headingLevel: 5, // h5 }; export const Normal = Template.bind({}); Normal.args = { headingLevel: 5, // h5 title: 'Normal table', muted: false, numerical: false, };