Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

sishuguojixuefu/react-native-add-custom-props

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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})

Releases

No releases published

Packages

No packages published