Skip to content

Commit e6b2d63

Browse files
Merge pull request #5 from simformsolutions/add-example
Updated readme
2 parents 140a16c + b2ee111 commit e6b2d63

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ From a developer perspective, it is very painful to manage two different compone
66

77
By default it will render a Button and you have to pass a boolean _isLoading_ prop to it. When the _isLoading_ will be true, it will render a Spinner in place of the Button and once its false, the Button will be rendered back again.
88

9+
![Example of react-native-spinner-button](https://github.com/simformsolutions/react-native-spinner-button/blob/master/example.gif)
10+
911
## Features
1012
* Drop in replacement for a button and indicator combo
1113
* Very easy to use
@@ -96,7 +98,6 @@ Don't forget to set the state variable you have given to _isLoading_ prop false
9698

9799
## Example
98100
A full working example project is here [Example](https://github.com/simformsolutions/react-native-spinner-button/tree/master/Example)
99-
![Example of react-native-spinner-button](https://github.com/simformsolutions/react-native-spinner-button/blob/master/example.gif)
100101

101102
## Acknowledgments and Big Thanks to
102103
* [react-native-indicators](https://github.com/n4kz/react-native-indicators)

0 commit comments

Comments
 (0)