/** @module @airtable/blocks/ui: Label */ /** */ import * as React from 'react'; import { AllStylesProps } from './system/index'; import { AriaProps } from './types/aria_props'; import { TextSizeProp } from './text'; import { DataAttributesProp } from './types/data_attributes_prop'; /** * Props for the {@link Label} component. Also accepts: * * {@link AllStylesProps} * * {@link AriaProps} * * @noInheritDoc * @docsPath UI/components/Label */ export interface LabelProps extends AllStylesProps, AriaProps { /** The size of the label. Defaults to `default`. Can be a responsive prop object. */ size?: TextSizeProp; /** The `for` attribute. Should contain the `id` of the input. */ htmlFor?: string; /** The `id` attribute. */ id?: string; /** The contents of the label. */ children?: React.ReactNode | string; /** Additional class names to apply, separated by spaces. */ className?: string; /** Additional styles. */ style?: React.CSSProperties; /** Data attributes that are spread onto the element, e.g. `dataAttributes={{'data-*': '...'}}`. */ dataAttributes?: DataAttributesProp; /** The `role` attribute. */ role?: string; } declare const ForwardedRefLabel: React.ForwardRefExoticComponent>; export default ForwardedRefLabel; //# sourceMappingURL=label.d.ts.map