From e9e169bbf62fa8bc2360db67f1c6e413d6a5b603 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Sat, 26 Mar 2016 14:37:32 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/navigator.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/releases/next/docs/navigator.html b/releases/next/docs/navigator.html index 07054e062d7..ace9b45e945 100644 --- a/releases/next/docs/navigator.html +++ b/releases/next/docs/navigator.html @@ -35,9 +35,8 @@ will use to identify each scene to render. initialRoute must be a route in the initialRouteStack if both props are provided. The initialRoute will default to the last item in the initialRouteStack.

initialRouteStack [object] #

Provide a set of routes to initially mount. Required if no initialRoute is provided. Otherwise, it will default to an array containing only the -initialRoute

navigationBar node #

Optionally provide a component as navigation bar that persists across scene -transitions. The component will receive two props: navigator and navState. -It will be rerendered when the routes change.

navigator object #

Optionally provide the navigator object from a parent Navigator

onDidFocus function #

Will be called with the new route of each scene after the transition is +initialRoute

navigationBar node #

Optionally provide a navigation bar that persists across scene +transitions

navigator object #

Optionally provide the navigator object from a parent Navigator

onDidFocus function #

Will be called with the new route of each scene after the transition is complete or after the initial mounting

onWillFocus function #

Will emit the target route upon mounting and before each nav transition

renderScene function #

Required function which renders the scene for a given route. Will be invoked with the route and the navigator object

(route, navigator) => <MySceneComponent title={route.title} navigator={navigator} />

sceneStyle View#style #

Styles to apply to the container of each scene

Next →