Answers for "react native text float right"

0

float right react native

//pick the one which works best for you
style={{textAlign: 'right'}}
style={{flexDirection: 'row', justifyContent: 'flex-end'}}
style={{position: 'absolute', right: 0}}

//parent has to be flexDirection row (default is column)
style={{alignSelf: 'flex-end'}}
style={{alignItems: 'flex-end'}}
Posted by: Guest on April-04-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language