mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-13 09:39:18 +08:00
refactor: change format to formatter for documentTitle option
This commit is contained in:
@@ -278,7 +278,7 @@ export default function App() {
|
||||
}}
|
||||
fallback={<Text>Loading…</Text>}
|
||||
documentTitle={{
|
||||
format: (options, route) =>
|
||||
formatter: (options, route) =>
|
||||
`${options?.title ?? route?.name} - React Navigation Example`,
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user