UNPKG

antd-fx67ll-test

Version:

这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)

24 lines (23 loc) 919 B
/** * TODO: 4.0 * * - Remove `dataSource` * - `size` not work with customizeInput * - CustomizeInput not feedback `ENTER` key since accessibility enhancement */ import * as React from 'react'; import { InternalSelectProps, OptionType, RefSelectProps } from '../select'; export interface DataSourceItemObject { value: string; text: string; } export declare type DataSourceItemType = DataSourceItemObject | React.ReactNode; export interface AutoCompleteProps extends Omit<InternalSelectProps<string>, 'inputIcon' | 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue'> { dataSource?: DataSourceItemType[]; } declare const RefAutoComplete: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<RefSelectProps>>; declare type RefAutoCompleteWithOption = typeof RefAutoComplete & { Option: OptionType; }; declare const _default: RefAutoCompleteWithOption; export default _default;