fix(react): overlays now define internal ionic components (#25967)

resolves #25962
This commit is contained in:
Liam DeBeasi
2022-09-21 10:30:32 -05:00
committed by GitHub
parent 92264cd4b0
commit 21dc893f90
5 changed files with 12 additions and 11 deletions

View File

@ -1,10 +1,10 @@
import { AlertOptions, alertController } from '@ionic/core/components';
import { IonAlert as IonAlertCmp } from '@ionic/core/components/ion-alert.js';
import { defineCustomElement } from '@ionic/core/components/ion-alert.js';
import { createControllerComponent } from './createControllerComponent';
export const IonAlert = /*@__PURE__*/ createControllerComponent<AlertOptions, HTMLIonAlertElement>(
'ion-alert',
alertController,
IonAlertCmp
defineCustomElement
);