import { DefaultErrorFallback } from "https://deno.land/x/udibo_react_app@0.19.0/mod.tsx";
A simple error fallback component that can be used to show the error and provide a button for trying again.
It takes a FallbackProps
object with an error
property, which represents the error that occurred, and
a resetErrorBoundary
function which is used to reset the error boundary.
The error boundary automatically resets if the location changes.
Parameters
unnamed 0: FallbackProps