mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-11-30 19:18:07 +08:00
f0385d7c24
* feat: tree * refactor: select * refactor: select * refactor: select * refactor: vc-tree-select * refactor: tree-select * refactor: tree-select * feat: add showLeafIcon * refactor: remove lod vc-tree-select * feat: tree-select add tag-render * refactor: cascader * refactor: cascader * refactor: cascader * refactor: cascader * fix: maxTagmaxTagPlaceholder not work
18 lines
580 B
Vue
18 lines
580 B
Vue
import type { FunctionalComponent } from 'vue';
|
|
import type { DefaultOptionType } from '../vc-select/Select';
|
|
|
|
export interface OptionProps extends Omit<DefaultOptionType, 'label'> {
|
|
/** Save for customize data */
|
|
[prop: string]: any; // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
}
|
|
|
|
export interface OptionFC extends FunctionalComponent<OptionProps> {
|
|
/** Legacy for check if is a Option Group */
|
|
isSelectOption: boolean;
|
|
}
|
|
|
|
const Option: OptionFC = () => null;
|
|
Option.isSelectOption = true;
|
|
Option.displayName = 'AAutoCompleteOption';
|
|
export default Option;
|