1.0.7 • Published 3 years ago

react-native-auto-scale-text v1.0.7

Weekly downloads
8
License
ISC
Repository
github
Last release
3 years ago

react-native-auto-scale-text

A cross-platform (iOS / Android) auto scale text component for React Native.

Getting Started

Installing

npm i react-native-auto-scale-text

Or

yarn add react-native-auto-scale-text

Basic Usage

example

<AutoScaleText
		style={{width: 100}}
		maxLines={3} 
		maxFontSize={14}>
		This is example text
	</AutoScaleText>

example

Props

NameDescriptionDetails
maxLines(Optional) Maximum number of lines before rescalingrequiredarray: []
maxFontSize(Optional) Maximum font sizenumber: 0
style(Optional) Text stylefunction: () => {}
1.0.7

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.0

4 years ago