Props
interface LabelProps extends AllStylesProps, AriaProps
children | React.ReactNode | string The contents of the label. |
className | undefined | string Additional class names to apply, separated by spaces. |
dataAttributes | DataAttributesProp Data attributes that are spread onto the element, e.g. |
htmlFor | undefined | string The |
id | undefined | string The |
role | undefined | string The |
size | TextSizeProp The size of the label. Defaults to |
style | React.CSSProperties Additional styles. |