DefaultError
The molecule DefaultError
component is used into the ErrorBoundary
component as the default error UI.
This component is composed of Text
components and a Button
to reset the error (for re-executing the query for example).
Props
Name | Type | Default | Description |
---|---|---|---|
onReset | function | The required function to reset the error. |