UNPKG

@exceptionless/react

Version:
11 lines 476 B
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