React-native text component with letter spacing. Works on both platforms
npm install react-native-letter-spacing``npm i --save react-native-letter-spacing`
Note: Does not support justified texts
`js
import MyText from 'react-native-letter-spacing';
wordSpacing={15}
textAlign='center'
style={{
fontSize: 20,
color: '#ccc'
}}/>
`
| Prop | Description | Default |
|---|---|---|
|letterSpacing|A number to use as the margin between characters|0|wordSpacing
||A number to use as the margin between words. Default is letterSpacing\3|letterSpacing \ 3 \|\| 15|textAlign
||'left', 'center', or 'right'|left|children
||Text to be spaced.|left|style
||Style for the text only (fontSize, color etc.).|null|containerStyle`|Style for wrapper view.|null|
|
MIT License. © Fazilet Cilli