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

import Loader from './Loader';

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

type Story = StoryObj<typeof Loader>;

export const Basic: Story = {};
