1.0.3 • Published 7 years ago
react-native-font-scale v1.0.3
react-native-font-scale
Flexible, autoscale, sizetofit <Text/> component without any native module
It can be adjusted to fullfil the usage of wrap_content in android and minimumScale in iOS
Available props
text
color
size
weight
fixed
style
width
numberOfLines
NPM Installation
npm i react-native-font-scale
Basic usage
You can use this if you want to make the text scale and fit the view without trauncate tail
<Label
text={'Your text'}
width={widthOfTheView}
fixed={true}
style={yourStyle}
/>