import React from 'react'; import { Meta, Story } from '@storybook/react'; import Button, { Props } from './Button'; import Eye from '../icons/Eye'; import './Button.css'; const meta: Meta = { title: 'UI/Button', component: Button, argTypes: { children: { control: { type: 'text', }, }, className: { control: { type: 'text', }, }, type: { control: { type: 'select', options: ['button', 'submit', 'reset'], }, }, primary: { control: { type: 'boolean', }, }, outlined: { control: { type: 'boolean', }, }, ghost: { control: { type: 'boolean', }, }, padded: { control: { type: 'boolean', }, }, block: { control: { type: 'boolean', }, }, danger: { control: { type: 'boolean', }, }, loading: { control: { type: 'boolean', }, }, disabled: { control: { type: 'boolean', }, }, }, parameters: { controls: { expanded: true }, }, }; export default meta; const Template: Story = args =>