Skip to content

Instantly share code, notes, and snippets.

@zapcriativo
Created December 3, 2020 17:52
Show Gist options
  • Save zapcriativo/a72c7423002f8ce1a5e424e03c8a9a38 to your computer and use it in GitHub Desktop.
Save zapcriativo/a72c7423002f8ce1a5e424e03c8a9a38 to your computer and use it in GitHub Desktop.
react-native-material-textfield+0.12.0.patch
diff --git a/node_modules/react-native-material-textfield/src/components/affix/index.js b/node_modules/react-native-material-textfield/src/components/affix/index.js
index 0f85022..e2dede9 100644
--- a/node_modules/react-native-material-textfield/src/components/affix/index.js
+++ b/node_modules/react-native-material-textfield/src/components/affix/index.js
@@ -3,1 +3,1 @@
-import { Animated } from 'react-native';
+import { Animated, Text } from 'react-native';
@@ -27,1 +27,1 @@
- style: Animated.Text.propTypes.style,
+ style: Text.propTypes.style,
diff --git a/node_modules/react-native-material-textfield/src/components/helper/index.js b/node_modules/react-native-material-textfield/src/components/helper/index.js
index 6060f9f..98b3c64 100644
--- a/node_modules/react-native-material-textfield/src/components/helper/index.js
+++ b/node_modules/react-native-material-textfield/src/components/helper/index.js
@@ -3,1 +3,1 @@
-import { View, Animated } from 'react-native';
+import { View, Animated, Text } from 'react-native';
@@ -13,1 +13,1 @@
- style: Animated.Text.propTypes.style,
+ style: Text.propTypes.style,
diff --git a/node_modules/react-native-material-textfield/src/components/label/index.js b/node_modules/react-native-material-textfield/src/components/label/index.js
index 82eaf03..2b9038d 100644
--- a/node_modules/react-native-material-textfield/src/components/label/index.js
+++ b/node_modules/react-native-material-textfield/src/components/label/index.js
@@ -3,1 +3,1 @@
-import { Animated } from 'react-native';
+import { Animated, Text } from 'react-native';
@@ -32,1 +32,1 @@
- style: Animated.Text.propTypes.style,
+ style: Text.propTypes.style,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment