Skip to main content

FallbackComponent

These are the props that the FallbackComponent receives:

Props

PropertyTypeDefault
errorError
resetErrorFunction

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.

React Native Error Boundary default fallback component