Closed SrBrahma closed 2 years ago
Besides this test error, the prop actually exist in Text. Maybe will use (Text as any).propTypes.style
:tada: This PR is included in version 9.1.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Overview
Change propTypes of Input to allow styles like fontSize to be passed.
Note that for some strange reason, TextPropTypes doesn't exist, I tried but it's undefined. So I am using Text.propTypes.style workaround. https://stackoverflow.com/questions/48565754/react-native-prop-type-for-text-style
Test Plan