obipawan / react-native-hyperlink

A <Hyperlink /> component for react-native that makes urls, fuzzy links, emails etc clickable
MIT License
801 stars 76 forks source link

Use TextPropTypes from 'deprecated-react-native-prop-types' for RN 0.69 compatability #66

Closed jamesxabregas closed 2 years ago

jamesxabregas commented 2 years ago

RN 0.68 introduced deprecation warnings for usages of React Native PropTypes. Then in RN 0.69 the PropTypes were removed. See this issue. The package deprecated-react-native-prop-types has been provided to support the continued use of PropTypes.

This PR simply makes the change to use the deprecated-react-native-prop-types package for TextPropTypes so that this package is compatible with RN 0.69.

robrechtme commented 2 years ago

Closes https://github.com/obipawan/react-native-hyperlink/issues/67.

robrechtme commented 2 years ago

@obipawan can you review this? It blocks upgrading to RN 0.69.

karanmartian commented 2 years ago

@obipawan can you please make a release with this critical change

obipawan commented 2 years ago

fixed with latest