Files
web/packages/design-system/lib/components/Label/Label.stories.tsx
Joakim Jäderberg 1bd6ce81b8 Merged in feature/SW-3245-move-jsontohtml (pull request #2661)
Feature/SW-3245 move jsontohtml

* wip

* Move JsonToHtml -> design-system

* Fix semantic issues within Stories

* replace imports of 'storybook/react-vite' with 'storybook/nextjs-vite'

* merge


Approved-by: Anton Gunnarsson
2025-08-18 07:46:21 +00:00

35 lines
535 B
TypeScript

import type { Meta, StoryObj } from '@storybook/nextjs-vite'
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',
},
}