export interface LabelContentProps { id?: string; children: React.ReactNode; isDisabled?: boolean; isRequired?: boolean; type?: string; noLabelTag?: boolean; /** * HTML ID for the label element itself, so that it can be referenced by * aria-labeledby. */ labelId?: string; /** * Sometimes the label should never get an asterisk or suffix for the required state, * e.g. when the checkbox is part of a larger component (like selectboxes). */ noOptionalSuffix?: boolean; } /** * A wrapper around label content, using the utrecht-form-label CSS class. */ export declare const LabelContent: React.FC; export interface LabelProps { id?: string; children: React.ReactNode; isDisabled?: boolean; isRequired?: boolean; tooltip?: React.ReactNode; /** * Render the label in a `span` rather than a `label` tag. * * @warning ensure you know what you're doing, as incorrectly specifying this will * affect accessibility negatively! */ noLabelTag?: boolean; /** * HTML ID for the label element itself, so that it can be referenced by * aria-labeledby. */ labelId?: string; } declare const Label: React.FC; export default Label;