UNPKG

@antdp/fuzzy-query

Version:

基于antd封装的组件 模糊查询 自定义提示

20 lines (19 loc) 570 B
import React from "react"; import { SelectProps } from "antd"; import { TablesProps } from "./Table"; export interface FuzzyQueryProps extends SelectProps<any> { /** 表格标题 */ columns?: TablesProps["columns"]; /** 请求 */ request: (params: any) => Promise<{ label: any; value: any; [s: string]: any; }[]>; /** 延迟时间 */ debounceTimeout?: number; /** 提示框宽度 */ tipWidth?: number; } declare const PopoverSelect: (props: FuzzyQueryProps) => React.JSX.Element; export default PopoverSelect;