import { ComponentStory, ComponentMeta } from '@storybook/react'; import { MdDelete } from 'react-icons/md' import IconButton from './IconButton'; export default { title: 'Shared/IconButton', component: IconButton, } as ComponentMeta; const Template: ComponentStory = (args) =>
; export const Default = Template.bind({}); Default.args = { children: } export const LargeButton = Template.bind({}); LargeButton.args = { children: , size: 'lg' } export const Link = Template.bind({}); Link.args = { children: , href: '/link' } export const Customized = Template.bind({}); Customized.args = { children: , className: '!bg-primary-500 hover:!bg-primary-700' }