refactor: move input and label to design system
correct variables according to design system spec various cleanup
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
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',
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user