<ErrorBoundary />

React ErrorBoundary component

Constructor

# <ErrorBoundary children floating />

PropTypes:
Name Type Required Description Default
children union Yes pass components as children of ErrorBoundary which are rendered if there is no error
floating bool No display error boundary with a modal-like background

View Source ErrorBoundary/ErrorBoundary.js, line 11