UNPKG

@connect-soft/mui-hook-form

Version:
12 lines 517 B
import { Component, ErrorInfo, PropsWithChildren } from 'react'; declare class State { error: Error | null; errorInfo: React.ErrorInfo | null; } export default class ErrorBoundary extends Component<PropsWithChildren<{}>, State> { state: State; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; render(): string | number | boolean | Iterable<import("react").ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined; } export {}; //# sourceMappingURL=ErrorBoundary.d.ts.map