import React, { useState } from 'react'; import { ComponentMeta, ComponentStory } from '@storybook/react'; import { Display, FlexDirection, AlignItems, IconColor, } from '../../../helpers/constants/design-system'; import Box from '../../ui/box'; import { TextField, Icon, IconName, IconSize } from '..'; import { Label } from './label'; import README from './README.mdx'; export default { title: 'Components/ComponentLibrary/Label', component: Label, parameters: { docs: { page: README, }, }, argTypes: { htmlFor: { control: 'text', }, children: { control: 'text', }, className: { control: 'text', }, }, args: { children: 'Label', }, } as ComponentMeta; const Template: ComponentStory = (args) =>