import type { Meta, StoryObj } from '@storybook/react'; import { Button } from '@repo/ui'; const meta: Meta = { component: Button, argTypes: { type: { control: { type: 'radio' }, options: ['button', 'submit', 'reset'], }, }, }; export default meta; type Story = StoryObj; /* *👇 Render functions are a framework specific feature to allow you control on how the component renders. * See https://storybook.js.org/docs/react/api/csf * to learn how to use render functions. */ export const Primary: Story = { render: (props) => ( ), name: 'Button', args: { children: 'Hello', type: 'button', style: { color: 'blue', border: '1px solid gray', padding: 10, borderRadius: 10, }, }, };