FallbackComponent
These are the props that the FallbackComponent
receives:
Props
Property | Type | Default |
---|---|---|
error | Error | |
resetError | Function |
error
The error object.
resetError
A function to reset the error state. You'll want to call this function to recover from the error state.
resetError(): void
Defaults
This is the default FallbackComponent
that comes with the library.