mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-05 05:29:01 +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
15 lines
472 B
Vue
15 lines
472 B
Vue
import type { FunctionalComponent } from 'vue';
|
|
import type { DefaultOptionType } from '../select';
|
|
|
|
export type OptGroupProps = Omit<DefaultOptionType, 'options'>;
|
|
|
|
export interface OptionGroupFC extends FunctionalComponent<OptGroupProps> {
|
|
/** Legacy for check if is a Option Group */
|
|
isSelectOptGroup: boolean;
|
|
}
|
|
|
|
const OptGroup: OptionGroupFC = () => null;
|
|
OptGroup.isSelectOptGroup = true;
|
|
OptGroup.displayName = 'AAutoCompleteOptGroup';
|
|
export default OptGroup;
|