/// import { IErrorBoundaryFallbackComponentProps, IOnErrorCallback } from './ErrorBoundary'; export interface IWithErrorBoundaryOption
{ Component?: React.ComponentType
; FallbackComponent?: React.ComponentType; onError?: IOnErrorCallback; } export declare function withErrorBoundary({ Component: BaseComponent, FallbackComponent, onError, }?: IWithErrorBoundaryOption): (props: P) => JSX.Element; export default withErrorBoundary;
({ Component: BaseComponent, FallbackComponent, onError, }?: IWithErrorBoundaryOption
): (props: P) => JSX.Element; export default withErrorBoundary;