Files
web/packages/design-system/lib/components/InputLabel/InputLabel.stories.tsx
Rasmus Langvad ca6cc5ab6c Merged in feat/SW-3636-storybook-structure (pull request #3309)
feat(SW-3636): Storybook structure

* New sections in Storybook sidebar

* Group Storybook content files and add token files for spacing, border radius and shadows


Approved-by: Joakim Jäderberg
2025-12-08 12:35:14 +00:00

35 lines
570 B
TypeScript

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