@@ -755,7 +755,7 @@ class InputSpinner extends Component {
755755 disabled = { this . _isDisabledButtonLeft ( ) }
756756 style = { buttonStyle }
757757 onPress = { ( ) => this . decrease ( ) }
758- { ...this . props . leftElementProps } >
758+ { ...this . props . leftButtonProps } >
759759 { this . _renderLeftButtonElement ( ) }
760760 </ TouchableHighlight >
761761 ) ;
@@ -790,7 +790,7 @@ class InputSpinner extends Component {
790790 disabled = { this . _isDisabledButtonRight ( ) }
791791 style = { buttonStyle }
792792 onPress = { ( ) => this . increase ( ) }
793- { ...this . props . rightElementProps } >
793+ { ...this . props . rightButtonProps } >
794794 { this . _renderRightButtonElement ( ) }
795795 </ TouchableHighlight >
796796 ) ;
@@ -895,9 +895,9 @@ InputSpinner.propTypes = {
895895 prepend : PropTypes . element ,
896896 decimalSeparator : PropTypes . string ,
897897 containerProps : PropTypes . object ,
898- leftElementProps : PropTypes . object ,
899898 inputProps : PropTypes . object ,
900- rightElementProps : PropTypes . object ,
899+ leftButtonProps : PropTypes . object ,
900+ rightButtonProps : PropTypes . object ,
901901} ;
902902
903903InputSpinner . defaultProps = {
@@ -944,9 +944,9 @@ InputSpinner.defaultProps = {
944944 style : { } ,
945945 decimalSeparator : "." ,
946946 containerProps : { } ,
947- leftElementProps : { } ,
948947 inputProps : { } ,
949- rightElementProps : { } ,
948+ leftButtonProps : { } ,
949+ rightButtonProps : { } ,
950950} ;
951951
952952export default InputSpinner ;
0 commit comments