Files
web/packages/design-system/lib/components/InputLabel/InputLabel.stories.tsx
Rasmus Langvad edca33c49f Merged in feat/SW-3655-input-component (pull request #3296)
feat: (SW-3655) new Input and FormInput components

* First version new Input and FormInput components

* Handle aria-describedby with react-aria instead of manually add it

* Update breaking unit and stories tests

* Merge branch 'master' into feat/SW-3655-input-component

* Update example form

* Merge branch 'master' into feat/SW-3655-input-component

* New lock file


Approved-by: Linus Flood
2025-12-08 08:51:03 +00:00

35 lines
565 B
TypeScript

import type { Meta, StoryObj } from '@storybook/nextjs-vite'
import { InputLabel } from './InputLabel'
const meta: Meta<typeof InputLabel> = {
title: 'Components/InputLabel',
component: InputLabel,
argTypes: {},
}
export default meta
type Story = StoryObj<typeof InputLabel>
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',
},
}