UNPKG

slate-devtools

Version:

`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code

17 lines 496 B
import React, { ReactNode } from "react"; declare type Props = { children: ReactNode; }; declare type State = { hasError: boolean; }; export declare class SlateEditorErrorBoundary extends React.Component<Props, State> { constructor(Props: Props); static getDerivedStateFromError(error: unknown): { hasError: boolean; }; componentDidCatch(error: unknown): void; render(): React.ReactNode; } export {}; //# sourceMappingURL=ErrorBoundary.d.ts.map