@exceptionless/react
Version:
JavaScript client for Exceptionless
11 lines • 476 B
TypeScript
import { Component, PropsWithChildren } from "react";
type ErrorState = {
hasError: boolean;
};
export declare class ExceptionlessErrorBoundary extends Component<PropsWithChildren, ErrorState> {
constructor(props: Readonly<Record<PropertyKey, unknown>> | Record<PropertyKey, unknown>);
componentDidCatch(error: Error, errorInfo: unknown): Promise<void>;
render(): import("react").ReactNode;
}
export {};
//# sourceMappingURL=ExceptionlessErrorBoundary.d.ts.map