import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';
import Tag from '../components/Ui/tag/Tag';

// More on default export: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
export default {
  title: 'UI elements / Tag',
  component: Tag,
  // More on argTypes: https://storybook.js.org/docs/react/api/argtypes
  argTypes: {
    variant: {defaultValue: 'primary', control:{ type:"select", options:["default", "primary", "secondary"]}},
    size: {defaultValue: 'default', control:{ type:"select", options:["default", "small", "medium", "large"]}},
  },
} as ComponentMeta<typeof Tag>;

const Template: ComponentStory<typeof Tag> = (args) => <Tag {...args} />;

export const BasicTag = Template.bind({});
BasicTag.args = {
  content: 'First Tag'
};


