15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
import { FunctionalComponent } from 'vue';
|
|
|
|
import { 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;
|
|
export default OptGroup;
|