mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 09:21:09 +08:00
Add initialRouteKey for StackRouter (#3540)
* use initialRouteName as key when initializing StackRouter * fix null headerLeft * merge back * fixed tests * use config flag * fixed snapshots * implemented requested changes
This commit is contained in:
committed by
Brent Vatne
parent
4569ad49f9
commit
c6301abaed
1
flow/react-navigation.js
vendored
1
flow/react-navigation.js
vendored
@@ -362,6 +362,7 @@ declare module 'react-navigation' {
|
||||
initialRouteParams?: NavigationParams,
|
||||
paths?: NavigationPathsConfig,
|
||||
navigationOptions?: NavigationScreenConfig<*>,
|
||||
initialRouteKey?: string,
|
||||
|};
|
||||
|
||||
declare export type NavigationStackViewConfig = {|
|
||||
|
||||
Reference in New Issue
Block a user