1 | import * as React from 'react';
|
2 | import { LabIcon } from '../icon';
|
3 | import { IElementRefProps } from './interface';
|
4 | export declare const HTML_SELECT_CLASS = "jp-HTMLSelect";
|
5 | export interface IOptionProps {
|
6 | |
7 |
|
8 |
|
9 | className?: string;
|
10 | |
11 |
|
12 |
|
13 | disabled?: boolean;
|
14 | |
15 |
|
16 |
|
17 | label?: string;
|
18 | |
19 |
|
20 |
|
21 | value: string | number;
|
22 | }
|
23 | export interface IHTMLSelectProps extends IElementRefProps<HTMLSelectElement>, React.SelectHTMLAttributes<HTMLSelectElement> {
|
24 | defaultStyle?: boolean;
|
25 | iconProps?: LabIcon.IProps;
|
26 | icon?: LabIcon;
|
27 | options?: Array<string | number | IOptionProps>;
|
28 | }
|
29 | export declare class HTMLSelect extends React.Component<IHTMLSelectProps> {
|
30 | render(): JSX.Element;
|
31 | }
|