1 | import * as React from "react";
|
2 | import { AbstractPureComponent2 } from "../../common";
|
3 | import { IElementRefProps, OptionProps } from "../../common/props";
|
4 | import { IconProps } from "../icon/icon";
|
5 | export declare type HTMLSelectProps = IHTMLSelectProps;
|
6 |
|
7 | export interface IHTMLSelectProps extends IElementRefProps<HTMLSelectElement>, React.SelectHTMLAttributes<HTMLSelectElement> {
|
8 | children?: React.ReactNode;
|
9 |
|
10 | disabled?: boolean;
|
11 |
|
12 | fill?: boolean;
|
13 |
|
14 | iconProps?: Partial<IconProps>;
|
15 |
|
16 | large?: boolean;
|
17 |
|
18 | minimal?: boolean;
|
19 |
|
20 | multiple?: never;
|
21 |
|
22 | onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
23 | |
24 |
|
25 |
|
26 |
|
27 |
|
28 | options?: ReadonlyArray<string | number | OptionProps>;
|
29 |
|
30 | value?: string | number;
|
31 | }
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | export declare class HTMLSelect extends AbstractPureComponent2<HTMLSelectProps> {
|
38 | render(): JSX.Element;
|
39 | }
|