UNPKG

@knapsack/app

Version:

Build Design Systems on top of knapsack, by Basalt

18 lines 524 B
export default ErrorCatcher; declare class ErrorCatcher extends React.Component<any, any, any> { constructor(props: any); state: { error: any; errorInfo: any; }; componentDidCatch(error: any, errorInfo: any): void; render(): {}; } declare namespace ErrorCatcher { export namespace propTypes { export const children: PropTypes.Validator<PropTypes.ReactNodeLike>; } } import React from "react"; import PropTypes from "prop-types"; //# sourceMappingURL=error-catcher.d.ts.map