2021-06-26 01:35:40 +00:00
|
|
|
import type { FunctionalComponent } from 'vue';
|
2020-10-07 14:49:01 +00:00
|
|
|
|
2021-06-26 01:35:40 +00:00
|
|
|
import type { OptionGroupData } from './interface';
|
2020-10-07 14:49:01 +00:00
|
|
|
|
2020-10-13 09:46:52 +00:00
|
|
|
export type OptGroupProps = Omit<OptionGroupData, 'options'>;
|
2020-10-07 14:49:01 +00:00
|
|
|
|
|
|
|
export interface OptionGroupFC extends FunctionalComponent<OptGroupProps> {
|
|
|
|
/** Legacy for check if is a Option Group */
|
|
|
|
isSelectOptGroup: boolean;
|
|
|
|
}
|
|
|
|
|
|
|
|
const OptGroup: OptionGroupFC = () => null;
|
|
|
|
OptGroup.isSelectOptGroup = true;
|
2020-12-25 05:02:08 +00:00
|
|
|
OptGroup.displayName = 'ASelectOptGroup';
|
2020-10-07 14:49:01 +00:00
|
|
|
export default OptGroup;
|