Optionalbold?: booleanWhether to use a bold font weight.
Optionalchildren?: ReactNodeOptionalclassName?: stringOptionalerror?: booleanWhether to use an error colour.
Optionalfor?: stringIndicates the form component this label connects to by its ID.
Optionalid?: stringOptionalmaxHeight?: numberOptionalmaxWidth?: numberOptionalminHeight?: numberOptionalminWidth?: numberOptionalstyle?: CSSPropertiesOptionaltooltip?: stringTooltip text.
To indicate placement side, add one of the following prefixes:
<?top?><?bottom?><?left?><?right?>Optionalvariant?: LabelVariantOptionalvisible?: booleanIf false, excludes label from layout.
Optionalwarning?: booleanWhether to use a warning colour.
Optionalwrap?: booleanWhether to include word wrapping.
A label component consisting of text.