import type { Meta, StoryObj } from '@storybook/react'; import { Button, ButtonProps } from '@neno-ignite-ui/react'; import { ArrowRight } from 'phosphor-react'; export default { title: 'Form/Button', component: Button, args: { variant: 'primary', size: 'md', disabled: false, children: 'Send' }, 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 = {}; 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 WithIcon: StoryObj = { args: { children: ( <> Next step ) } }; export const Disabled: StoryObj = { args: { disabled: true } };