schema-finder
Version:
A simple React component for viewing and exploring a JSONSchema
15 lines • 496 B
TypeScript
import React from "react";
export interface ErrBoundProps {
children: React.ReactNode | React.ReactNode[];
}
interface ErrBoundState {
hasError: boolean;
}
export declare class ErrBound extends React.Component<ErrBoundProps, ErrBoundState> {
constructor(props: ErrBoundProps);
static getDerivedStateFromError(_err: Error): ErrBoundState;
componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
render(): {} | null;
}
export {};
//# sourceMappingURL=Err.d.ts.map