import { Meta, StoryObj } from '@storybook/react-webpack5';
import ExpressiveMoneyInput, { Props as ExpressiveMoneyInputProps } from './ExpressiveMoneyInput';

const meta: Meta<typeof ExpressiveMoneyInput> = {
  component: ExpressiveMoneyInput,
  tags: ['!autodocs', '!manifest'],
  title: 'Forms/ExpressiveMoneyInput/Tests',
  args: {
    label: 'You send',
    currency: 'GBP',
    amount: 1234.56,
    currencySelector: undefined,
  },
};
export default meta;

type Story = StoryObj<ExpressiveMoneyInputProps>;

export const WithAutofocus: Story = {
  args: {
    autoFocus: true,
  },
};
