UNPKG

@ionic/react

Version:
18 lines (17 loc) 808 B
import type { JSX as LocalJSX } from '@ionic/core/components'; import React, { type PropsWithChildren } from 'react'; import type { IonContextInterface } from '../contexts/IonContext'; import type { ReactComponentOrElement } from '../models'; import type { IonicReactProps } from './IonicReactProps'; type Props = PropsWithChildren<LocalJSX.IonApp & IonicReactProps & { ref?: React.Ref<HTMLIonAppElement>; }>; export declare class IonApp extends React.Component<Props> { addOverlayCallback?: (id: string, overlay: ReactComponentOrElement, containerElement: HTMLDivElement) => void; removeOverlayCallback?: (id: string) => void; constructor(props: Props); ionContext: IonContextInterface; render(): import("react/jsx-runtime").JSX.Element; static displayName: string; } export {};