import React, { useState } from 'react'; import { DISPLAY, FLEX_DIRECTION, Size, AlignItems, IconColor, } from '../../../helpers/constants/design-system'; import Box from '../../ui/box'; import { Icon, ICON_NAMES, TextField } 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', }, required: { control: 'boolean', }, children: { control: 'text', }, className: { control: 'text', }, }, args: { children: 'Label', }, }; const Template = (args) =>