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 |
|
9 | disabled?: boolean;
|
10 |
|
11 | fill?: boolean;
|
12 |
|
13 | iconProps?: Partial<IconProps>;
|
14 |
|
15 | large?: boolean;
|
16 |
|
17 | minimal?: boolean;
|
18 |
|
19 | multiple?: never;
|
20 |
|
21 | onChange?: React.ChangeEventHandler<HTMLSelectElement>;
|
22 | |
23 |
|
24 |
|
25 |
|
26 |
|
27 | options?: Array<string | number | OptionProps>;
|
28 |
|
29 | value?: string | number;
|
30 | }
|
31 | export declare class HTMLSelect extends AbstractPureComponent2<HTMLSelectProps> {
|
32 | render(): JSX.Element;
|
33 | }
|