import type { StoryObj, Meta } from '@storybook/react' import { Button, ButtonProps, Text } from '@vinioliver-ignite-ui/react' import { ArrowRight } from 'phosphor-react' export default { title: 'Form/Button', component: Button, args:{ children: 'Send', variant: 'primary', size: 'md', disabled: false, }, argTypes: { variant: { options: ['primary', 'secondary', 'tertiary'], control: { type: 'inline-radio', }, }, size:{ options: ['sm', 'md'], control: { type: 'inline-radio', }, }, disabled:{ control: { type: 'boolean', }, }, onClick: { action: 'click', }, }, } as Meta export const Primary: StoryObj ={ args: { size: 'md', }, } export const Secondary: StoryObj ={ args: { variant: 'secondary', children: 'Create New', }, } export const Tertiary: StoryObj ={ args: { variant: 'tertiary', children: 'Cancel', }, } export const Small: StoryObj ={ args: { size: 'sm', }, } export const Disabled: StoryObj ={ args: { disabled: true, }, } export const WithIcon: StoryObj ={ args: { children: ( <> Próximo passo ) }, }