Skip to content

Commit a6346e4

Browse files
committed
fix: disable right button
Fixed disable right button Closes issues/4
1 parent 813ef6f commit a6346e4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"react": "16.8.3",
1313
"react-dom": "^16.8.6",
1414
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
15-
"react-native-input-spinner": "^1.2.7",
15+
"react-native-input-spinner": "^1.2.8",
1616
"react-native-web": "^0.11.5"
1717
},
1818
"prettier": {

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ class InputSpinner extends Component {
624624
underlayColor={this._getColorPress()}
625625
onHideUnderlay={this.onHideUnderlay.bind(this)}
626626
onShowUnderlay={this.onShowUnderlay.bind(this, "right")}
627-
disabled={this._isDisabledButtonLeft()}
627+
disabled={this._isDisabledButtonRight()}
628628
style={buttonStyle}
629629
onPress={() => this.increase()}>
630630
{this._renderRightButtonElement()}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-input-spinner",
3-
"version": "1.2.7",
3+
"version": "1.2.8",
44
"description": "React native input with increase and decrease buttons",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)