Closed Geperson closed 1 year ago
Could you please provide an example: how to align long (multiply rows ) text in button by horizontal? I've tried to provide style={{textAlign: 'center'}} to button and to entire but it not works.
<Button style={{textAlign: 'center'}} size='large' onPress={() => this.correctionsMade()}> <Text style={{textAlign: 'center'}}>TITLE</Text> </Button>
Hello there @Geperson !
You can check our example codes !
You also can use without <Text style={{textAlign: 'center'}}>TITLE</Text>
<Text style={{textAlign: 'center'}}>TITLE</Text>
Like so:
<Button>L</Button>
Could you please provide an example: how to align long (multiply rows ) text in button by horizontal? I've tried to provide style={{textAlign: 'center'}} to button and to entire but it not works.