react-native-add-custom-props
v0.2.0
Published
add custom props tp react native component
Downloads
6
Maintainers
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})