UNPKG

react-flow-app

Version:

🚀 This is a React.js library to simplify navigations focused in events (user actions) for smooth integrations.

16 lines (15 loc) • 481 B
import React from 'react'; interface ErrorBoundaryProps { children: React.ReactNode; containerErrorMessage?: (error: string) => React.ReactNode; } interface ErrorBoundaryState { hasError: boolean; error?: string | object; } export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> { constructor(props: ErrorBoundaryProps); componentDidCatch(error: any, info: any): void; render(): React.ReactNode; } export {};