refactor: change format to formatter for documentTitle option

This commit is contained in:
Satyajit Sahoo
2020-07-10 13:07:47 +02:00
parent 13c9d1e281
commit eea9860323
3 changed files with 5 additions and 5 deletions

View File

@@ -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`,
}}
>