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

import Loader from './Loader';

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

type Story = StoryObj<typeof Loader>;

export const Basic: Story = {};
