README
react-native-add-custom-props
add custom props tp react native component
Install
$ yarn add react-native-add-custom-props
Usage
import addCustomProps from 'react-native-add-custom-props'
// 处理ios系统文字,可以判断一下平台
addCustomProps(Text, {allowFontScaling: false})
addCustomProps(TextInput, {allowFontScaling: false})