import Switch from './Switch';
import { ComponentStory, ComponentMeta } from '@storybook/react';
export default {
    title:'Components/Switch',
    component:Switch,
    argTypes:{
        color:{
            options:['inherit' ,'primary','secondary','success', 'error','info','warning'],
            control: { type: 'radio'}
        },
        size:{
            options:['small', 'medium'],
            control: { type: 'radio' },
        }
    }
} as ComponentMeta<typeof Switch>

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

export const SwitchComponent = Template.bind({});

SwitchComponent.args = {
    
    color: "primary",
    size: "medium",
};
