import { Meta, StoryObj } from '@storybook/react-webpack5';

import Loader from './Loader';

export default {
  component: Loader,
  title: 'Loading/Loader',
  args: {
    size: 'md',
    label: 'Sending your money',
  },
  argTypes: {
    size: {
      type: {
        name: 'enum',
        value: ['sm', 'md'],
      },
    },
    label: {
      control: 'text',
    },
  },
} satisfies Meta<typeof Loader>;

type Story = StoryObj<typeof Loader>;

export const Basic: Story = {};
