UNPKG

@ant-design/pro-field

Version:

原子信息组件,统一 ProForm、ProTable、ProList、Filter 等组件里面的字段定义。

31 lines (30 loc) 991 B
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<SelectProps<any, import("antd/es/select").DefaultOptionType> & { label?: string | undefined; placeholder?: any; valueMaxLength?: number | undefined; /** 刷新数据 */ fetchData: (keyWord?: string | undefined) => void; /** * 当搜索关键词发生变化时是否请求远程数据 * * @default true */ fetchDataOnSearch?: boolean | undefined; } & ProFieldLightProps & React.RefAttributes<any>>; export default _default;