Skip to content

Commit 8bd9c02

Browse files
restructure usage guide
1 parent d0beb9a commit 8bd9c02

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,17 @@ import { FetchLoading } from 'fetch-loading'
2121
2222
<FetchLoading />
2323
24-
### with no arguments being passed, the animation will fall back to its default color #52525c
24+
### with no arguments being passed,
25+
### the animation will fall back to its default color #52525c
26+
27+
...
28+
29+
```
30+
31+
You can also pass any Hex-value as an argument for the ```theme``` property:
32+
33+
```
34+
...
2535
2636
<FetchLoading theme="#a2d1aa" />
2737
@@ -30,7 +40,4 @@ import { FetchLoading } from 'fetch-loading'
3040
<FetchLoading theme="#000000" />
3141
3242
...
33-
3443
```
35-
36-
Pass any Hex-value as an argument for the ```theme``` property.

0 commit comments

Comments
 (0)