import type { ComponentMeta, ComponentStory } from '@storybook/react'; import Icon from '.'; export default { argTypes: { defaultImage: { control: 'text' }, imgSource: { control: 'text' }, title: { control: 'text' }, uploadedImage: { control: 'text' } }, component: Icon, title: 'Icon/Attach' } as ComponentMeta; const TemplateIcon: ComponentStory = (args) => ; export const PlaygroundIcon = TemplateIcon.bind({}); export const normal = (): JSX.Element => ( undefined} title="Attach" uploadedImage="" /> );