Skip to content

Releases: StackOverflowIsBetterThanAnyAI/fetch-loading

v0.0.6

03 Apr 08:06
Compare
Choose a tag to compare
  • removed -D from installation guide as this is not a dev dependency
  • moved react to peer dependencies
  • moved rollup and rollup-plugin-postcss to dev dependencies

v0.0.5

26 Mar 19:45
Compare
Choose a tag to compare

new:

  • theme property can now be a Hex value with 3 or 6 digits
  • theme property can now be a Hex value with an alpha channel
  • theme property can now be an RGB value
  • theme property can now be an RGBA value

v0.0.4

19 Mar 20:35
Compare
Choose a tag to compare

fix error: missing type declarations
change output folder from /src to /dist

v0.0.3

19 Mar 20:14
Compare
Choose a tag to compare

fix implementation error

v0.0.1

13 Feb 20:25
Compare
Choose a tag to compare

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

Pass any Hex-value as an argument for the theme property.

Usage

import { FetchLoading } from 'fetch-loading'

...

<FetchLoading />

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

<FetchLoading theme="#a2d1aa" />

<FetchLoading theme="#fafafa" />

<FetchLoading theme="#000000" />

...