import { action } from 'storybook/actions'; import { Documents, FastFlag } from '@transferwise/icons'; import { ComponentProps } from 'react'; import { Button, IconButton, List } from '..'; import AvatarView from '../avatarView'; import Info from '../info'; import Title from '../title/Title'; import LegacyListItem from '.'; /** * > ⚠️ This component is **deprecated** and superseded by the [new ListItem component](?path=/docs/content-listitem--docs) * (run codemod to migrate: **`npx @wise/wds-codemods@latest list-item`**). */ export default { component: LegacyListItem, title: 'Content/LegacyListItem', tags: ['deprecated'], }; const Template = ({ title = 'Wise', value = 'We’re building the world’s most international account', ...props }: Partial>) => { return ; }; export const Basic = () => { return (