UNPKG

narraleaf

Version:

Create your visual novel with Electron and React

22 lines (21 loc) 545 B
import * as React from "react"; export declare class ErrorBoundary extends React.Component<{ children: React.ReactNode; fallback: React.ReactNode; crash: boolean; }, { hasError: boolean; }> { constructor(props: { children: React.ReactNode; fallback: React.ReactNode; crash: boolean; }); static getDerivedStateFromError(error: Error): { hasError: boolean; }; componentDidCatch(error: Error, info: { componentStack: string; }): void; render(): React.ReactNode; }