UNPKG

@turbox3d/reactivity-react

Version:

Large-scale reactive state management library for react

12 lines (11 loc) 375 B
import * as React from 'react'; export default class ErrorBoundary extends React.Component<React.PropsWithChildren> { state: { hasError: boolean; error: { message: string; }; }; componentDidCatch(error: Error): void; render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined; }