Created
July 18, 2020 16:17
-
-
Save jehartzog/80ca9a3b651e4111a7a52b419f771d4e to your computer and use it in GitHub Desktop.
Patch for react-native-material-dropdown RN 63
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/node_modules/react-native-material-dropdown/src/components/dropdown/index.js b/node_modules/react-native-material-dropdown/src/components/dropdown/index.js | |
index b1e65a1..d812b5d 100644 | |
--- a/node_modules/react-native-material-dropdown/src/components/dropdown/index.js | |
+++ b/node_modules/react-native-material-dropdown/src/components/dropdown/index.js | |
@@ -133,7 +133,7 @@ export default class Dropdown extends PureComponent { | |
disabledItemColor: PropTypes.string, | |
baseColor: PropTypes.string, | |
- itemTextStyle: Text.propTypes.style, | |
+ itemTextStyle: PropTypes.any, | |
itemCount: PropTypes.number, | |
itemPadding: PropTypes.number, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment