Debian Codegraph @

node/@patternfly/react-core/dist/js/components/TextInputGroup/TextInputGroup.d.ts

raw
1 /// <reference types="react" />
2 import { ValidatedOptions } from '../../helpers/constants';
3 export interface TextInputGroupProps extends React.HTMLProps<HTMLDivElement> {
4 /** Content rendered inside the text input group */
5 children?: React.ReactNode;
6 /** Additional classes applied to the text input group container */
7 className?: string;
8 /** Adds disabled styling and a disabled context value which text input group main hooks into for the input itself */
9 isDisabled?: boolean;
10 /** Flag to indicate the toggle has no border or background */
11 isPlain?: boolean;
12 /** Value to indicate if the text input group is modified to show that validation state.
13 * If set to success, warning, or error, the group will show that state.
14 * If set to default, no validation styling is applied (use to clear a prior validation state).
15 */
16 validated?: 'success' | 'warning' | 'error' | 'default' | ValidatedOptions;
17 /** @hide A reference object to attach to the input box */
18 innerRef?: React.RefObject<any>;
19 }
20 export declare const TextInputGroupContext: import("react").Context<Partial<TextInputGroupProps>>;
21 export declare const TextInputGroup: React.FunctionComponent<TextInputGroupProps>;
22 //# sourceMappingURL=TextInputGroup.d.ts.map