ErrorState component – displays a full-screen error view with optional retry action.
Features:
- Centered error layout with icon, title and message
- Localized texts via react-i18next
- Optional retry button rendered only when a callback is provided
- Light/dark theme support through Tailwind classes
Intended usage:
- As a fallback UI when async data loading fails
- As an error boundary visual replacement
- Inside pages or route-level error states
- Description:
- ErrorState component – displays a full-screen error view with optional retry action. Features: - Centered error layout with icon, title and message - Localized texts via react-i18next - Optional retry button rendered only when a callback is provided - Light/dark theme support through Tailwind classes Intended usage: - As a fallback UI when async data loading fails - As an error boundary visual replacement - Inside pages or route-level error states
- Source:
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
props |
Object | Component props
Properties
|
Returns:
A full-screen error state view
- Type
- JSX.Element