UNPKG

@ionic/react

Version:
17 lines (16 loc) 769 B
import type { JSX as LocalJSX } from '@ionic/core/components'; import React, { type PropsWithChildren } from 'react'; import { NavContext } from '../../contexts/NavContext'; import type { IonicReactProps } from '../IonicReactProps'; type Props = PropsWithChildren<LocalJSX.IonBackButton & IonicReactProps & { ref?: React.Ref<HTMLIonBackButtonElement>; }>; export declare class IonBackButton extends React.Component<Props> { context: React.ContextType<typeof NavContext>; clickButton: (e: React.MouseEvent) => void; render(): import("react/jsx-runtime").JSX.Element; static get displayName(): string; static get contextType(): React.Context<import("../../contexts/NavContext").NavContextState>; shouldComponentUpdate(): boolean; } export {};