// Button.stories.ts|tsx import { ComponentMeta, ComponentStory } from '@storybook/react'; import { GiftIcon, KeyIcon } from '@heroicons/react/outline'; import { SIZES, VARIANTS } from '../../Types'; import { BrowserRouter } from 'react-router-dom'; import Button from './Button'; import React from 'react'; export default { title: 'Button', component: Button, decorators: [ (Story) => ( ), ], argTypes: { variant: { options: VARIANTS, control: { type: 'select' }, }, size: { options: SIZES, control: { type: 'select' }, }, }, } as ComponentMeta; export const Standard: ComponentStory = ({ variant, size }) => ( ); export const WithIcon: ComponentStory = ({ variant, size }) => ( ); export const IconOnly: ComponentStory = ({ variant, size }) => ( );