import { Meta } from '@storybook/react'; import { BadgeIcon, BadgeSize, Props } from './BadgeIcon'; export default { component: BadgeIcon, title: 'Components/BadgeIcon', argTypes: { size: { control: { type: 'select', options: ['md', 'lg', 'xl', '2xl', '3xl'], }, }, icon: { control: { type: 'select', options: ['edit', 'info', 'smile', 'users'], }, }, }, } as Meta; // : JSX.IntrinsicAttributes & PropsWithChildren function Template({ size = '3xl', icon = 'edit', }: { size?: BadgeSize; icon: string; }) { return ; } export const Example = Template.bind({});