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

import BadgeCountButton from '.';

const meta: Meta<typeof BadgeCountButton> = {
  component: BadgeCountButton,
  title: 'Composed Components/BadgeCountButton',
  tags: ['autodocs'],
  args: {
    children: 'Filter',
    count: 4,
    buttonProps: {
      variant: 'secondary',
      size: 'small',
      onClick: () => alert('click on button'),
    },
  },
};

export default meta;

type Story = StoryObj<typeof BadgeCountButton>;

export const Default: Story = {
  args: {},
};
