Skip to content
Discussion options

You must be logged in to vote

Hi @booyeu,
There isn't a property to directly control title alignment but you could use headerCenter property to provide your own title in the center of the header and style it to your needs:

headerCenter: () => <Text>Title</Text>

https://github.com/software-mansion/react-native-screens/tree/master/native-stack#headercenter

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@burakgormek
Comment options

@kacperkapusciak
Comment options

@burakgormek
Comment options

@bviebahn
Comment options

@kacperkapusciak
Comment options

Answer selected by kacperkapusciak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #960 on June 01, 2021 06:31.