mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-24 05:42:33 +03:00
43 lines
1.7 KiB
Diff
43 lines
1.7 KiB
Diff
diff --git a/node_modules/react-native-slider/lib/Slider.js b/node_modules/react-native-slider/lib/Slider.js
|
|
index c640410..fbba022 100644
|
|
--- a/node_modules/react-native-slider/lib/Slider.js
|
|
+++ b/node_modules/react-native-slider/lib/Slider.js
|
|
@@ -5,6 +5,7 @@ var _react=require("react");var _react2=_interopRequireDefault(_react);
|
|
|
|
|
|
var _reactNative=require("react-native");
|
|
+var _depPropTypes=require("deprecated-react-native-prop-types");
|
|
|
|
|
|
|
|
@@ -555,7 +556,7 @@ return false;}}]);return Slider;}(_react.PureComponent);Slider.propTypes={ /**
|
|
* The style applied to the thumb.
|
|
*/thumbStyle:_reactNative.ViewPropTypes.style, /**
|
|
* Sets an image for the thumb.
|
|
- */thumbImage:_reactNative.Image.propTypes.source, /**
|
|
+ */thumbImage:_depPropTypes.ImagePropTypes.source, /**
|
|
* Set this to true to visually see the thumb touch rect in green.
|
|
*/debugTouchArea:_propTypes2.default.bool, /**
|
|
* Set to true to animate values with default 'timing' animation type
|
|
diff --git a/node_modules/react-native-slider/src/Slider.js b/node_modules/react-native-slider/src/Slider.js
|
|
index 37deee5..db33538 100644
|
|
--- a/node_modules/react-native-slider/src/Slider.js
|
|
+++ b/node_modules/react-native-slider/src/Slider.js
|
|
@@ -15,6 +15,7 @@ import {
|
|
} from "react-native";
|
|
|
|
import PropTypes from 'prop-types';
|
|
+import { ImagePropTypes } from 'deprecated-react-native-prop-types';
|
|
|
|
var TRACK_SIZE = 4;
|
|
var THUMB_SIZE = 20;
|
|
@@ -146,7 +147,7 @@ export default class Slider extends PureComponent {
|
|
/**
|
|
* Sets an image for the thumb.
|
|
*/
|
|
- thumbImage: Image.propTypes.source,
|
|
+ thumbImage: ImagePropTypes.source,
|
|
|
|
/**
|
|
* Set this to true to visually see the thumb touch rect in green.
|