Skip to content

StackOverflowIsBetterThanAnyAI/fetch-loading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetch Loading

npm Downloads Last Year

Loading animation which can be displayed while data is fetched from an API.

Installation

npm i -D fetch-loading

Usage

import { FetchLoading } from 'fetch-loading'

...

<FetchLoading />

### with no arguments being passed,
### the animation will fall back to its default color #52525c

...

Default Fetch Loading Animation Preview

You can also pass any Hex-value as an argument for the theme property:

...

<FetchLoading theme="#a2d1aa" />

<FetchLoading theme="#fafafa" />

<FetchLoading theme="#000000" />

...

About

React loading animation which can be displayed while data is fetched from an API.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •