Skip to content

Commit edcb215

Browse files
committed
Document headerTitleAlign
1 parent 27fe195 commit edcb215

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

versioned_docs/version-6.x/native-stack-navigator.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,17 @@ When a function is passed, it receives `tintColor` and`children` in the options
205205

206206
Note that if you render a custom element by passing a function, animations for the title won't work.
207207

208+
#### `headerTitleAlign`
209+
210+
How to align the header title. Possible values:
211+
212+
- `left`
213+
- `center`
214+
215+
Defaults to `left` on platforms other than iOS.
216+
217+
Not supported on iOS. It's always `center` on iOS and cannot be changed.
218+
208219
#### `headerTitleStyle`
209220

210221
Style object for header title. Supported properties:

0 commit comments

Comments
 (0)