Skip to content

Deprecated prop-types #103

Open
Open
@prayaslashkari

Description

@prayaslashkari

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions