2021-06-26 01:35:40 +00:00
|
|
|
import type { FunctionalComponent } from 'vue';
|
2022-01-21 13:58:10 +00:00
|
|
|
import type { DefaultOptionType } from '../select';
|
2021-06-23 13:47:53 +00:00
|
|
|
|
2022-01-21 13:58:10 +00:00
|
|
|
export type OptGroupProps = Omit<DefaultOptionType, 'options'>;
|
2021-06-23 13:47:53 +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;
|
|
|
|
OptGroup.displayName = 'AAutoCompleteOptGroup';
|
|
|
|
export default OptGroup;
|