Skip to content

Commit be872ca

Browse files
usage
1 parent 483327e commit be872ca

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
11
# Fetch Loading
22

33
Loading animation which can be displayed while data is fetched from an API.
4+
5+
Pass any Hex-value as an argument for the ```theme``` property.
6+
7+
## Usage
8+
9+
```
10+
import { FetchLoading } from 'fetch-loading'
11+
12+
...
13+
14+
<FetchLoading />
15+
16+
### with no arguments being passed, the animation will fall back to its default color #52525c
17+
18+
<FetchLoading theme="#a2d1aa" />
19+
20+
...
21+
```

0 commit comments

Comments
 (0)