UNPKG

core-native

Version:

A lightweight framework based on React Native + Redux + Redux Saga, in strict TypeScript.

18 lines 576 B
import React from "react"; import { Exception } from "../Exception"; interface Props { render: (exception: Exception) => React.ReactNode; children: React.ReactNode; } interface State { exception: Exception | null; } export declare class ErrorBoundary extends React.PureComponent<Props, State> { static displayName: string; static defaultProps: Pick<Props, "render">; constructor(props: Props); componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): React.ReactNode; } export {}; //# sourceMappingURL=ErrorBoundary.d.ts.map