@ionic/react
Version:
React specific wrapper for @ionic/core
6 lines (5 loc) • 452 B
TypeScript
import type { LifeCycleCallback } from '../contexts/IonLifeCycleContext';
export declare const useIonViewWillEnter: (callback: LifeCycleCallback, deps?: any[]) => void;
export declare const useIonViewDidEnter: (callback: LifeCycleCallback, deps?: any[]) => void;
export declare const useIonViewWillLeave: (callback: LifeCycleCallback, deps?: any[]) => void;
export declare const useIonViewDidLeave: (callback: LifeCycleCallback, deps?: any[]) => void;