mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
fix(react): overlays now define internal ionic components (#25967)
resolves #25962
This commit is contained in:
@ -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
|
||||
);
|
||||
|
Reference in New Issue
Block a user