ComponentsLoading
A wrapper that manages different UI states

The default loader is the BounceLoader which you can change using loader prop.
To handle error state use error prop alongside renderError
Use the empty prop alongside emptyComponent to to display empty state.
Use the spinner to displays a custom loading spinner while data is loading.