import { action } from 'storybook/actions';
import { Meta, StoryObj } from '@storybook/react-webpack5';
import { FastFlag as FastFlagIcon } from '@transferwise/icons';
import { Nudge, Title, Typography } from '..';
import ActionOption from './ActionOption';
/**
* > ⚠️ This component is **deprecated** and superseded by the [new ListItem component](?path=/docs/content-listitem--docs) with the [ListItem.Button control](?path=/docs/content-listitem-listitem-button--docs)
* (run codemod to migrate: **`npx @wise/wds-codemods@latest list-item`**).
*/
export default {
component: ActionOption,
title: 'Option/ActionOption',
args: {
title: 'Action option',
content: 'Normally, the button and icon are vertically centered.',
action: 'Action',
media: ,
showMediaCircle: false,
additionalContent:
'Additional content goes here, this content does not align with the logo and button',
},
tags: ['deprecated'],
} satisfies Meta;
type Story = StoryObj;
export const Basic: Story = {
render: (args) => ,
};
export const Variants: Story = {
render: (args) => (
<>
>
),
};
export const WithContainerContent: Story = {
render: (args) => (
<>
Choose how to pay
>
),
};