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

const meta: Meta<typeof Label> = {
  title: 'Components/Label',
  component: Label,
  parameters: {
    layout: 'centered',
  },
  tags: ['autodocs'],
};

type Story = StoryObj<typeof Label>;
const defaultArgs = {
  label: 'FireFlink',
};

export const PrimaryLabel: Story = {
  args: {
    ...defaultArgs,
    color: 'primary',
  },
};

export const SuccessLabel: Story = {
  args: {
    ...defaultArgs,
    color: 'success',
  },
};

export const MediumLabel: Story = {
  args: {
    ...defaultArgs,
    size: 'medium',
  },
};

export const LargeLabel: Story = {
  args: {
    ...defaultArgs,
    size: 'large',
  },
};

export const RequiredLabel: Story = {
  args: {
    ...defaultArgs,
    required: true,
  },
};

export default meta;
