import type { SelectProps } from 'antd'; import React from 'react'; import type { ProFieldLightProps } from '../../../index'; export type LightSelectProps = { label?: string; placeholder?: any; valueMaxLength?: number; /** 刷新数据 */ fetchData: (keyWord?: string) => void; /** * 当搜索关键词发生变化时是否请求远程数据 * * @default true */ fetchDataOnSearch?: boolean; } & ProFieldLightProps; declare const _default: React.ForwardRefExoticComponent & { label?: string | undefined; placeholder?: any; valueMaxLength?: number | undefined; /** 刷新数据 */ fetchData: (keyWord?: string | undefined) => void; /** * 当搜索关键词发生变化时是否请求远程数据 * * @default true */ fetchDataOnSearch?: boolean | undefined; } & ProFieldLightProps & React.RefAttributes>; export default _default;