35 lines
529 B
TypeScript
35 lines
529 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react'
|
|
|
|
import { Label } from './Label'
|
|
|
|
const meta: Meta<typeof Label> = {
|
|
title: 'Components/Label',
|
|
component: Label,
|
|
argTypes: {},
|
|
}
|
|
|
|
export default meta
|
|
|
|
type Story = StoryObj<typeof Label>
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
children: 'Label',
|
|
required: false,
|
|
},
|
|
}
|
|
|
|
export const Discreet: Story = {
|
|
args: {
|
|
children: 'Label',
|
|
size: 'discreet',
|
|
},
|
|
}
|
|
|
|
export const Small: Story = {
|
|
args: {
|
|
children: 'Label',
|
|
size: 'small',
|
|
},
|
|
}
|