import React, { FC } from 'react'; import { InputProps } from '../types'; import { IDropdownOption } from '../../dropdown'; import { IDropdownMenuDynamic } from '../../dropdown/menuDynamic'; import { IDropdownWrapper } from '../../dropdown/wrapper'; import { InputContainerProps } from '../base/InputContainer'; /** * Common text based select input with dropdown. You can use ChipSelect if you want to render chip content */ export interface IInputSelect extends InputProps, Pick, Pick, Pick { /** Is multi */ isMulti?: boolean; /** Optional passed in dropdown styles */ dropdownStyle?: object; /** Options. They must have a name and value at least */ options: IDropdownOption[]; /** Optional placeholder */ placeholder?: string; /** Option to render dropdown item in input container */ renderValue?: (option: IDropdownOption) => React.ReactNode; /** Max height of dropdown */ maxDropdownHeight?: string; /** 组件外获取 isOpen 状态 */ onOpen?: (isOpen: boolean) => void; /** enable clear feature */ enableClear?: boolean; /** Dropdown width */ dropdownWidth?: number; } export declare const InputSelect: FC;