Skip to content

Commit aa48354

Browse files
Update README.md
1 parent d52f768 commit aa48354

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# react-native-spinner-button
22
This is a pure javascript and react-native Button component with a Spinner embeded in it.
3-
In many of the react-native projects I have worked on required the button to be disabled when app is processing something on tap of that button, and a loading indicator on it or beside it, so the user can be made aware of app doing some processing.
3+
In many of the react-native projects we have worked on required the button to be disabled when app is processing something on tap of that button, and a loading indicator on it or beside it, so the user can be made aware of app doing some processing.
44

5-
From a developer perspective, it is very painful to manage two different components: a button and a spinner for lots of buttons! So when I came accross this beautiful component [SSspinnerButton](https://github.com/simformsolutions/SSSpinnerButton), I decided to do something like that in react-native.
5+
From a developer perspective, it is very painful to manage two different components: a button and a spinner for lots of buttons! So when we came accross this beautiful component [SSspinnerButton](https://github.com/simformsolutions/SSSpinnerButton), we decided to do something like that in react-native.
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

0 commit comments

Comments
 (0)