mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-19 02:51:06 +08:00
Allow passing null to onNavigationStateChange prop (#3683)
As seen here: react-navigation/react-navigation#360, we need to be able to pass null to turn off logging.
This commit is contained in:
2
flow/react-navigation.js
vendored
2
flow/react-navigation.js
vendored
@@ -553,7 +553,7 @@ declare module 'react-navigation' {
|
||||
|
||||
declare export type NavigationContainerProps<S: {}, O: {}> = $Shape<{
|
||||
uriPrefix?: string | RegExp,
|
||||
onNavigationStateChange?: (
|
||||
onNavigationStateChange?: ?(
|
||||
NavigationState,
|
||||
NavigationState,
|
||||
NavigationAction
|
||||
|
||||
Reference in New Issue
Block a user