Component - Loading and error states
This component shows how a mobile app screen handles loading data and errors. It displays a loading spinner while waiting, shows the data when ready, or an error message if something goes wrong.
This component shows how a mobile app screen handles loading data and errors. It displays a loading spinner while waiting, shows the data when ready, or an error message if something goes wrong.
View ├─ ActivityIndicator ├─ Text (Data or Error message) └─ Button (Retry)