@aliretail/react-materials-components
Version:
12 lines (11 loc) • 471 B
TypeScript
/// <reference types="react" />
import { SelectProps } from '@alifd/next/types/select';
declare type actionTypeEnum = 'itemClick' | 'popupClose' | 'inputChange';
interface FusionSelectProps extends Omit<SelectProps, 'onSearch' | 'onSearchClear'> {
/**
* 当搜索框值变化时回调
*/
onSearch?: (value: string, actionType: actionTypeEnum) => void;
}
declare function FusionSelect(props: FusionSelectProps): JSX.Element;
export default FusionSelect;