import { Meta, StoryObj } from '@storybook/react-webpack5'; import { Settings } from '@transferwise/icons'; import ActionButton from './ActionButton'; import { withVariantConfig } from '../../.storybook/helpers'; const meta: Meta = { component: ActionButton, tags: ['!autodocs', '!manifest', 'deprecated'], title: 'Actions/ActionButton/Tests', }; export default meta; type Story = StoryObj; export const DisabledVariants: Story = { render: (args) => (
Primary label Secondary label Tertiary label
Primary label Secondary label Tertiary label
), args: { disabled: true, }, ...withVariantConfig(['default', 'dark', 'rtl', 'mobile']), };