import * as React from "react"; const cssStyle = require("./ErrorBoundary.scss"); interface ErrorBoundaryState { errorOccurred: boolean } export class ErrorBoundary extends React.Component<{}, ErrorBoundaryState> { constructor(props) { super(props); this.state = { errorOccurred: false }; } render() { if(this.state.errorOccurred) { return (