mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
* fix(react): correct controller types and reexport AlertOptions. * feat(): add Ion Stack and Tabs navigation items based on React Router. * rework tabs and add router outlet * fixes to the outlet rendering. * add direction as state * fixed transitions * Update to core rc2.
8 lines
346 B
TypeScript
8 lines
346 B
TypeScript
import { Components } from '@ionic/core';
|
|
import { createControllerComponent } from './createControllerComponent';
|
|
|
|
export type ToastOptions = Components.IonToastAttributes;
|
|
|
|
const IonToast = createControllerComponent<ToastOptions, HTMLIonToastElement, HTMLIonToastControllerElement>('ion-toast', 'ion-toast-controller')
|
|
export default IonToast;
|