import { Meta, StoryObj } from '@storybook/react-webpack5'; import { Settings } from '@transferwise/icons'; import ActionButton from './ActionButton'; import { withVariantConfig } from '../../.storybook/helpers'; /** * This component is deprecated please use new [Button](?path=/docs/actions-button--docs). * * For more details please refer to the [release notes](https://transferwise.atlassian.net/wiki/spaces/DS/pages/3542158737/Button+Updates+New+sizes+Loader+and+Cue) and the [design spec](https://wise.design/components/button). */ export default { component: ActionButton, title: 'Actions/ActionButton', tags: ['deprecated'], } satisfies Meta; type Story = StoryObj; export const Basic: Story = { render: (args) => (
Primary label Secondary label Tertiary label
Primary label Secondary label Tertiary label
Primary disabled Secondary disabled Tertiary disabled
), ...withVariantConfig(['default', 'dark', 'rtl', 'mobile']), };