UNPKG

895 BTypeScriptView Raw
1import React from 'react';
2import { SelectProps } from '@beisen-phoenix/select/';
3import './index.scss';
4declare type Size = 'small' | 'normal' | 'large';
5declare type selctType = 'single' | 'multiple' | 'group';
6interface dropdownProps extends SelectProps {
7 hasError?: boolean;
8 isPreview?: boolean;
9 selectType?: selctType;
10 options: any[];
11 optionSearch?: boolean;
12 showCheckAll?: boolean;
13 value?: string;
14 hostSubmit?: boolean;
15 getPopupContainer?: Function;
16 zIndex?: number;
17 stretch?: string;
18 size?: Size;
19 layerWidth?: number;
20 displayLabel?: string;
21 onBlur?: Function;
22 autoFocus?: boolean;
23 extraCls?: string;
24 selectIsActive?: boolean;
25 caseSensitive?: boolean;
26 optionSearchAutoFocus?: boolean;
27 splitKey?: string;
28}
29declare const FieldDropdown: React.FunctionComponent<dropdownProps>;
30export default FieldDropdown;