mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-25 06:13:12 +03:00
updated patches
This commit is contained in:
parent
c2d49ecf44
commit
5b203ddc8e
File diff suppressed because one or more lines are too long
42
patches/react-native-slider+0.11.0.patch
Normal file
42
patches/react-native-slider+0.11.0.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
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.
|
Loading…
Reference in New Issue
Block a user