Latest updates from IceHrmPro
This commit is contained in:
22
web/node_modules/antd/es/auto-complete/index.d.ts
generated
vendored
Normal file
22
web/node_modules/antd/es/auto-complete/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* TODO: 4.0
|
||||
* - remove `dataSource`
|
||||
* - `size` not work with customizeInput
|
||||
* - customizeInput not feedback `ENTER` key since accessibility enhancement
|
||||
*/
|
||||
import * as React from 'react';
|
||||
import Select, { InternalSelectProps, OptionType } from '../select';
|
||||
export interface DataSourceItemObject {
|
||||
value: string;
|
||||
text: string;
|
||||
}
|
||||
export declare type DataSourceItemType = string | DataSourceItemObject;
|
||||
export interface AutoCompleteProps extends Omit<InternalSelectProps<string>, 'inputIcon' | 'loading' | 'mode' | 'optionLabelProp' | 'labelInValue'> {
|
||||
dataSource?: DataSourceItemType[];
|
||||
}
|
||||
declare const RefAutoComplete: React.ForwardRefExoticComponent<AutoCompleteProps & React.RefAttributes<Select<import("../select").SelectValue>>>;
|
||||
declare type RefAutoComplete = typeof RefAutoComplete & {
|
||||
Option: OptionType;
|
||||
};
|
||||
declare const _default: RefAutoComplete;
|
||||
export default _default;
|
||||
Reference in New Issue
Block a user