import React from 'react' import { type Meta, type StoryObj } from '@storybook/react' import { Label } from '../index' import { LabelTypes } from '../types' const meta = { title: 'Components/Form primitives/Label', component: Label, args: { children: 'I am Label', }, } satisfies Meta export default meta type Story = StoryObj export const Playground: Story = { parameters: { docs: { canvas: { sourceState: 'shown', }, }, }, } const InlineFormControl = (): JSX.Element => ( ) const BlockFormControl = (): JSX.Element => export const InlineControls: Story = { args: { labelText: 'Inline controls', labelType: 'checkbox', children: , }, } export const Position: Story = { render: () => ( ), parameters: { docs: { source: { type: 'dynamic' }, }, }, } export const BlockControls: Story = { render: () => ( <>