Skip to content

Commit e3e7efb

Browse files
fix: Remove backgroundColor becuase it's visible in gradient button.
1 parent 02e09c9 commit e3e7efb

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,7 @@ Don't forget to set the state variable you have given to _isLoading_ prop false
5151
* Default button style
5252
```javascript
5353
defaultButtonStyle: {
54-
justifyContent: 'center',
55-
alignItems: 'center',
56-
height: 50,
57-
backgroundColor: '#25CAC6',
54+
height: 50
5855
}
5956
```
6057
3. **borderStyle**

components/styles/SpinnerButtonStyle.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ export default StyleSheet.create({
99
alignItems: 'center'
1010
},
1111
defaultButton: {
12-
height: 50,
13-
backgroundColor: '#25CAC6',
12+
height: 50
1413
},
1514
absoluteView: {
1615
...StyleSheet.absoluteFillObject

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-spinner-button",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "This is a react-native button component with a spinner. You can load a spinner or a button from the same component depending on a flag. for eg, you have a button. And on press of that button you are doing something and wants the user to show a spinner, all you have to do is use this component. You can pass along a boolean flag. The component will render a spinner if the flag is true and button if the flag is false.",
55
"author": "Rupal Patel <[email protected]>",
66
"main": "index.js",

0 commit comments

Comments
 (0)