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

15 lines
426 B
TypeScript
Raw Normal View History

2020-10-07 14:49:01 +00:00
import { FunctionalComponent } from 'vue';
import { OptionGroupData } from './interface';
export interface OptGroupProps extends 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;
export default OptGroup;