@momo-kits/stepper 0.0.24 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Stepper.js +1 -4
- package/Stepper.web.js +1 -1
- package/package.json +1 -1
package/Stepper.js
CHANGED
|
@@ -2,7 +2,6 @@ import React, {Component} from 'react';
|
|
|
2
2
|
import {View, StyleSheet, TextInput, Keyboard} from 'react-native';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import {Text, Colors, Image, TouchableOpacity} from '@momo-kits/core';
|
|
5
|
-
import {max, min} from 'react-native-reanimated';
|
|
6
5
|
|
|
7
6
|
const minus =
|
|
8
7
|
'https://img.mservice.io/momo_app_v2/new_version/img/appx_icon/24_navigation_minus_circle.png';
|
|
@@ -188,8 +187,6 @@ export default class Quantity extends Component {
|
|
|
188
187
|
this.onChangeValue(value, type);
|
|
189
188
|
});
|
|
190
189
|
}
|
|
191
|
-
|
|
192
|
-
console.log(value, min, max);
|
|
193
190
|
};
|
|
194
191
|
|
|
195
192
|
onPress =
|
|
@@ -259,7 +256,7 @@ export default class Quantity extends Component {
|
|
|
259
256
|
<View style={[styles.numberBox, getStyle(size).size, valueStyle]}>
|
|
260
257
|
{isInput ? (
|
|
261
258
|
<TextInput
|
|
262
|
-
style={[{textAlignVertical: 'center'}, getSize(size).size]}
|
|
259
|
+
style={[{textAlignVertical: 'center', padding: 0}, getSize(size).size]}
|
|
263
260
|
underlineColorAndroid="transparent"
|
|
264
261
|
value={value.toString()}
|
|
265
262
|
textAlign="center"
|
package/Stepper.web.js
CHANGED