Loading animation which can be displayed while data is fetched from an API.
npm i -D fetch-loading
import { FetchLoading } from 'fetch-loading'
...
<FetchLoading />
### with no arguments being passed,
### the animation will fall back to its default color #52525c
...
You can also pass any Hex-value as an argument for the theme
property:
...
<FetchLoading theme="#a2d1aa" />
<FetchLoading theme="#fafafa" />
<FetchLoading theme="#000000" />
...