import type { Meta, StoryObj } from '@storybook/react' import { Label } from './label' import { Input } from './input' import { Switch } from './switch' const meta: Meta = { title: 'Primitives/Label', component: Label, parameters: { layout: 'centered', backgrounds: { default: 'dark' } }, args: { children: 'Field label' }, } export default meta type Story = StoryObj export const Default: Story = {} export const WithInput: Story = { render: () => (
), } export const WithSwitch: Story = { render: () => (
), } export const DisabledPeer: Story = { name: 'Disabled (peer state)', render: () => (
), } export const Overview: Story = { name: 'Overview', render: () => (
Standalone
Paired with input
Paired with switch
), }