15 lines
471 B
Vue
15 lines
471 B
Vue
import { FunctionalComponent } from 'vue';
|
|
import { 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;
|