A Better SuperScript in React Native

const superFontSize = Math.floor(fontSize * 0.6)
const superlineHeight = superFontSize * 1.1
const superStyle = {
textAlignVertical: 'top',
fontSize: superFontSize,
lineHeight: superlineHeight
}
const regular = {
textAlignVertical: 'bottom',
fontSize: fontSize
}
<View style={{flexDirection: 'row', alignItems: 'flex-start'}}> <Text style={superStyle}>Super</Text> <Text style={regular}> Regular Text</Text></View>

WHY

const superFontSize = Math.floor(fontSize * 0.6)
const superlineHeight = superFontSize * 1.1
<View style={{flexDirection: 'row', alignItems: 'flex-start'}}>

What about other Solutions

Getting Free