diff --git a/releases/next/docs/modal.html b/releases/next/docs/modal.html index aacaf2542b9..c380f2e26a3 100644 --- a/releases/next/docs/modal.html +++ b/releases/next/docs/modal.html @@ -4,7 +4,7 @@ your app written in React Native to present content above the enclosing native view hierarchy.
In apps written with React Native from the root view down, you should use Navigator instead of Modal. With a top-level Navigator, you have more control over how to present the modal scene over the rest of your app by using the -configureScene property.
Examples # | Edit on GitHub |
initialRoute must be
a route in the initialRouteStack if both props are provided. The
initialRoute will default to the last item in the initialRouteStack.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
Optionally provide a navigation bar that persists across scene -transitions
Optionally provide the navigator object from a parent Navigator
Will be called with the new route of each scene after the transition is
+initialRoute
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.
Optionally provide the navigator object from a parent Navigator
Will be called with the new route of each scene after the transition is complete or after the initial mounting
Will emit the target route upon mounting and before each nav transition
Required function which renders the scene for a given route. Will be invoked with the route and the navigator object
Styles to apply to the container of each scene