import * as React from 'react'; import { Alert } from '@chakra-ui/react'; import { ErrorBoundary, getErrorMessage } from "react-error-boundary"; import { ChakraCodeBlock } from './CodeBlock'; export const MSErrorBoundary = (props: React.PropsWithChildren) => { return ( ( Error while render )} > {props.children} ) }