UNPKG

vs-form-mui-4x

Version:

A schema-based form generator component for React using material-ui 4.x

11 lines (10 loc) 356 B
import * as React from 'react'; import { ItemProps } from '../common/propTypes'; export interface IErrorBoundaryState { hasError: boolean; } export default class ErrorBoundary extends React.Component<ItemProps, IErrorBoundaryState> { constructor(props: ItemProps); componentDidCatch(error: any, info: any): void; render(): any; }