import { InformationIcon } from '@blocksuite/icons'; import type { Meta, StoryFn } from '@storybook/react'; import type { IconButtonProps } from './icon-button'; import { IconButton } from './icon-button'; export default { title: 'UI/IconButton', component: IconButton, argTypes: { onClick: () => console.log('Click button'), }, } satisfies Meta; const Template: StoryFn = args => ; export const Plain: StoryFn = Template.bind(undefined); Plain.args = { children: , }; export const Primary: StoryFn = Template.bind(undefined); Primary.args = { type: 'primary', icon: , }; export const Disabled: StoryFn = Template.bind(undefined); Disabled.args = { disabled: true, icon: , }; export const ExtraSmallSizeButton: StoryFn = Template.bind(undefined); ExtraSmallSizeButton.args = { size: 'extraSmall', icon: , }; export const SmallSizeButton: StoryFn = Template.bind(undefined); SmallSizeButton.args = { size: 'small', icon: , }; export const LargeSizeButton: StoryFn = Template.bind(undefined); LargeSizeButton.args = { size: 'large', icon: , };