Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-native-check-box@2.1.7
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-check-box/index.js b/node_modules/react-native-check-box/index.js
index 7fb0df3..2906f33 100755
--- a/node_modules/react-native-check-box/index.js
+++ b/node_modules/react-native-check-box/index.js
@@ -16,7 +16,8 @@ import {
TouchableHighlight,
ViewPropTypes as RNViewPropTypes,
} from 'react-native';
-import PropTypes from 'prop-types';
+import PropTypes from 'deprecated-react-native-prop-types';
+
const ViewPropTypes = RNViewPropTypes || View.propTypes;
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels