mmazzarolo / react-native-dialog

Pure JavaScript React-Native dialog
MIT License
681 stars 111 forks source link

Change style propType of Input from View to Text #124

Closed SrBrahma closed 2 years ago

SrBrahma commented 2 years ago

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

SrBrahma commented 2 years ago

Besides this test error, the prop actually exist in Text. Maybe will use (Text as any).propTypes.style

github-actions[bot] commented 2 years ago

:tada: This PR is included in version 9.1.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: