@gpa-gemstone/common-pages
Version:
Common UI pages for GPA products
19 lines (18 loc) • 487 B
TypeScript
import * as React from 'react';
import { CSSProperties } from 'styled-components';
interface IError {
name: string;
message: string;
}
interface IProps {
ErrorMessage: string;
Style?: CSSProperties;
ClassName?: string;
ErrorIconSize?: number;
}
export default class ErrorBoundary extends React.Component<React.PropsWithChildren<IProps>, IError> {
constructor(props: IProps);
componentDidCatch(error: IError): void;
render(): JSX.Element;
}
export {};