File: TextInputGroupMain.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (47 lines) | stat: -rw-r--r-- 2,318 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/// <reference types="react" />
export interface TextInputGroupMainProps extends Omit<React.HTMLProps<HTMLDivElement>, 'onChange'> {
    /** Content rendered inside the text input group main div */
    children?: React.ReactNode;
    /** Additional classes applied to the text input group main container */
    className?: string;
    /** Icon to be shown on the left side of the text input group main container */
    icon?: React.ReactNode;
    /** Type that the input accepts. */
    type?: 'text' | 'date' | 'datetime-local' | 'email' | 'month' | 'number' | 'password' | 'search' | 'tel' | 'time' | 'url';
    /** Suggestion that will show up like a placeholder even with text in the input */
    hint?: string;
    /** Callback for when there is a change in the input field*/
    onChange?: (event: React.FormEvent<HTMLInputElement>, value: string) => void;
    /** Callback for when the input field is focused*/
    onFocus?: (event?: any) => void;
    /** Callback for when focus is lost on the input field*/
    onBlur?: (event?: any) => void;
    /** Accessibility label for the input */
    'aria-label'?: string;
    /** Value for the input */
    value?: string | number;
    /** Placeholder value for the input */
    placeholder?: string;
    /** @hide A reference object to attach to the input box */
    innerRef?: React.RefObject<any>;
    /** Name for the input */
    name?: string;
    /** The id of the active element. Required if role has a value of "combobox", and focus
     * should remain on the input.
     */
    'aria-activedescendant'?: string;
    /** Determines the accessible role of the input. */
    role?: string;
    /** Flag for whether an associated element controlled by the input is visible. Required if
     * role has a value of "combobox".
     */
    isExpanded?: boolean;
    /** The id of the element(s) controlled by the input. Required if role has a value of "combobox". */
    'aria-controls'?: string;
    /** The id of the input element */
    inputId?: string;
    /** Additional props to spread to the input element. */
    inputProps?: any;
}
export declare const TextInputGroupMain: import("react").ForwardRefExoticComponent<Omit<TextInputGroupMainProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
//# sourceMappingURL=TextInputGroupMain.d.ts.map