1 | import React from 'react';
|
2 | import { ErrorBoundary } from 'react-error-boundary';
|
3 | export interface ErrorBoundaryProps {
|
4 | onResetKeysChange?: (prevResetKeys: Array<any>, resetKeys: Array<any>) => void;
|
5 | onReset?: () => void;
|
6 | onError?: (error: Error, info: {
|
7 | componentStack: string;
|
8 | }) => void;
|
9 | resetKeys?: Array<any>;
|
10 | fallback?: React.ReactElement<any, any> | null;
|
11 | [key: string]: any;
|
12 | }
|
13 | export declare function ErrorFallback(args: any): React.JSX.Element;
|
14 | export declare const setDefaultErrorFallback: (CustComponents: any) => void;
|
15 | export default ErrorBoundary;
|