sajad torkamani
import type { Meta, StoryObj } from '@storybook/react'

import { Button, ButtonProps } from './Button'

const meta = {
  component: Button,
} satisfies Meta<typeof Button>

export default meta;

type Story = StoryObj<typeof meta>

export const Primary: Story = {
  args: {
    primary: true,
    label: 'Button',
  },
}

Sources / related

Tagged: Storybook

Leave a comment

Your email address will not be published. Required fields are marked *