mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
15 lines
481 B
Vue
15 lines
481 B
Vue
import type { FunctionalComponent } from 'vue';
|
|
import type { OptionGroupData } from '../vc-select/interface';
|
|
|
|
export type OptGroupProps = Omit<OptionGroupData, '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;
|