Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated prop-types #103

Open
prayaslashkari opened this issue Aug 9, 2023 · 1 comment
Open

Deprecated prop-types #103

prayaslashkari opened this issue Aug 9, 2023 · 1 comment

Comments

@prayaslashkari
Copy link

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.

@prayaslashkari prayaslashkari changed the title Deprecated deprecated-react-native-prop-types Deprecated prop-types Aug 9, 2023
@prayaslashkari
Copy link
Author

@crazycodeboy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant