mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-04 13:08:48 +08:00
16 lines
455 B
Vue
16 lines
455 B
Vue
import { FunctionalComponent } from 'vue';
|
|
|
|
import { OptionGroupData } from './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 = 'ASelectOptGroup';
|
|
export default OptGroup;
|