1 | import * as React from 'react';
|
2 | import { PickOptional } from '../../helpers/typeUtils';
|
3 | import { OUIAProps } from '../../helpers';
|
4 | export interface FormSelectProps extends Omit<React.HTMLProps<HTMLSelectElement>, 'onChange' | 'onBlur' | 'onFocus' | 'disabled'>, OUIAProps {
|
5 |
|
6 | children: React.ReactNode;
|
7 |
|
8 | className?: string;
|
9 |
|
10 | value?: any;
|
11 | |
12 |
|
13 |
|
14 |
|
15 | validated?: 'success' | 'warning' | 'error' | 'default';
|
16 |
|
17 | isDisabled?: boolean;
|
18 |
|
19 | isRequired?: boolean;
|
20 |
|
21 | isIconSprite?: boolean;
|
22 |
|
23 | onBlur?: (event: React.FormEvent<HTMLSelectElement>) => void;
|
24 |
|
25 | onFocus?: (event: React.FormEvent<HTMLSelectElement>) => void;
|
26 |
|
27 | onChange?: (value: string, event: React.FormEvent<HTMLSelectElement>) => void;
|
28 |
|
29 | 'aria-label'?: string;
|
30 | }
|
31 | export declare class FormSelect extends React.Component<FormSelectProps, {
|
32 | ouiaStateId: string;
|
33 | }> {
|
34 | static displayName: string;
|
35 | constructor(props: FormSelectProps);
|
36 | static defaultProps: PickOptional<FormSelectProps>;
|
37 | handleChange: (event: any) => void;
|
38 | render(): JSX.Element;
|
39 | }
|
40 | //# sourceMappingURL=FormSelect.d.ts.map |
\ | No newline at end of file |