import { Meta, StoryObj } from '@storybook/react-webpack5'; import { fn } from 'storybook/test'; import Link from '../link'; import InstructionsList, { InstructionsListProps } from './InstructionsList'; export default { component: InstructionsList, title: 'Typography/InstructionsList', render: (args) => , } satisfies Meta; type Story = StoryObj; export const Basic: Story = { args: { sort: 'dosFirst', dos: [ 'Do an initial money transfer', 'Invite at least 3 friends', Paying extra{' '} hidden fees {' '} for transfers , ], donts: ['Paying extra hidden fees for transfers', 'Use bad exchange rate'], }, }; export const WithNewLine: Story = { args: { sort: 'dosFirst', dos: [ 'Do an initial money transfer', 'Invite at least 3 friends', 'This do item has a newline:\nSecond line appears below', ], donts: [ 'Paying extra hidden fees for transfers', 'Use bad exchange rate', 'This dont item has a newline:\nSecond line appears below', ], }, };