ant-design-vue/components/vc-select/OptGroup.tsx

16 lines
465 B
Vue

import type { FunctionalComponent } from 'vue';
import type { 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;