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

15 lines
413 B
Vue
Raw Normal View History

2020-10-07 22:49:01 +08:00
import { FunctionalComponent } from 'vue';
import { OptionGroupData } from './interface';
2020-10-13 17:46:52 +08:00
export type OptGroupProps = Omit<OptionGroupData, 'options'>;
2020-10-07 22:49:01 +08:00
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;