UNPKG

@wordpress/components

Version:
23 lines 737 B
export default ConnectedControlLabel; /** * `ControlLabel` is a form component that works with `FormGroup` to provide a * label for form elements (e.g. `Switch` or `TextInput`). * * ```jsx * import { ControlLabel, FormGroup, TextInput } from '@wordpress/components/ui'; * * function Example() { * return ( * <FormGroup> * <ControlLabel>First Name</ControlLabel> * <TextInput /> * </FormGroup> * ); * } * ``` */ declare const ConnectedControlLabel: import("../context").WordPressComponent<"label", import("../../text/types").Props & { isBlock?: boolean | undefined; size?: "medium" | "large" | "small" | undefined; } & import("react").RefAttributes<any>, false>; //# sourceMappingURL=component.d.ts.map