1.0.7 • Published 5 years ago

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

Weekly downloads
8
License
ISC
Repository
github
Last release
5 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

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago