@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.
Files changed (2) hide show
  1. package/Slider.js +1 -4
  2. 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
- // return;
322
- Vibration.vibrate(100);
319
+ return;
323
320
  }
324
321
 
325
322
  const nextState = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/slider",
3
- "version": "0.0.18-beta-8",
3
+ "version": "0.0.24",
4
4
  "private": false,
5
5
  "main": "index.js",
6
6
  "dependencies": {},
@@ -13,4 +13,4 @@
13
13
  },
14
14
  "devDependencies": {},
15
15
  "license": "MoMo"
16
- }
16
+ }