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

import {Badge} from './index';

const meta: Meta<typeof Badge> = {
  title: 'HuGo/Badge',
  component: Badge,
  argTypes: {
    variant: {
      control: 'radio',
      options: ['primary', 'success', 'error', 'warning'],
    },
    value: {control: 'number'},
    show: {control: 'boolean'},
  },
};

type Story = StoryObj<typeof Badge>;

export const BadgeComponent: Story = {
  args: {
    variant: 'primary',
    value: 0,
    show: true,
  },
};

export default meta;
