import React from 'react'; import { action } from 'storybook/actions'; import { Home as HomeIcon } from '@transferwise/icons'; import { Status } from '../common'; import { InfoPresentation } from '../info'; import Summary, { type Props as SummaryProps } from './Summary'; /** * > ⚠️ 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: Summary, title: 'Content/Summary', tags: ['deprecated'], argTypes: { title: { control: 'text' }, }, }; export const Basic = (args: SummaryProps) => { const actionText = 'Change address'; const description = '10 Downing Street, Westminster, London SW1A 2AA.'; return (