@momo-kits/slider 0.0.18-beta-8 → 0.0.24
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/Slider.js +1 -4
- package/package.json +2 -2
package/Slider.js
CHANGED
|
@@ -7,14 +7,12 @@ import {
|
|
|
7
7
|
I18nManager,
|
|
8
8
|
ImageBackground,
|
|
9
9
|
Text,
|
|
10
|
-
Vibration,
|
|
11
10
|
} from 'react-native';
|
|
12
11
|
import {get} from 'lodash';
|
|
13
12
|
import {Colors, Spacing} from '@momo-kits/core';
|
|
14
13
|
import DefaultMarker from './DefaultMarker';
|
|
15
14
|
import DefaultLabel from './DefaultLabel';
|
|
16
15
|
import {createArray, valueToPosition, positionToValue} from './converters';
|
|
17
|
-
// import {Spacing} from '../../core';
|
|
18
16
|
|
|
19
17
|
export default class Slider extends Component {
|
|
20
18
|
constructor(props) {
|
|
@@ -318,8 +316,7 @@ export default class Slider extends Component {
|
|
|
318
316
|
}
|
|
319
317
|
|
|
320
318
|
if (onePressed || twoPressed) {
|
|
321
|
-
|
|
322
|
-
Vibration.vibrate(100);
|
|
319
|
+
return;
|
|
323
320
|
}
|
|
324
321
|
|
|
325
322
|
const nextState = {};
|
package/package.json
CHANGED