Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jehartzog/80ca9a3b651e4111a7a52b419f771d4e to your computer and use it in GitHub Desktop.
Save jehartzog/80ca9a3b651e4111a7a52b419f771d4e to your computer and use it in GitHub Desktop.
Patch for react-native-material-dropdown RN 63
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