ant-design-vue/components/auto-complete/OptGroup.tsx

15 lines
481 B
Vue
Raw Normal View History

2021-06-26 01:35:40 +00:00
import type { FunctionalComponent } from 'vue';
import type { OptionGroupData } from '../vc-select/interface';
2021-06-23 13:47:53 +00:00
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;