You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`key`|`string`|`required`| Will be used to call screen transition, for example, `Actions.name(params)`. Must be unique. |
25
25
|`component`|`React.Component`|`semi-required`| The `Component` to be displayed. Not required when defining a nested `Scene`, see example. |
26
-
|`activeTintColor`|`string`|| Specifies the active tint color for tabbar icons |
27
26
|`animationEnabled`|`boolean`|`true`| Enable or disable animating tabs on switch. |
28
27
|`back`|`boolean`|`false`| Show a back button on the left side of the nav bar that calls `Actions.pop` on press. |
29
28
|`clone`|`boolean`|`false`| Scenes marked with `clone` will be treated as templates and cloned into the current scene's parent when pushed. See example. |
30
29
|`contentComponent`|`React.Component`|| Component used to render the content of the drawer (e.g. navigation items). |
|`drawerImage`|`Image`|| Image to substitute drawer 'hamburger' icon, you have to set it together with `drawer` prop |
33
31
|`failure`|`Function`|| If `on` returns a "falsey" value then `failure` is called. |
34
32
|`headerBackTitle`|`string`|| Specifies the back button title for scene |
35
33
|`headerMode`|`string`|`float`| Specifies how the header should be rendered: `float` (render a single header that stays at the top and animates as screens are changed. This is a common pattern on iOS.), `screen` (each screen has a header attached to it and the header fades in and out together with the screen. This is a common pattern on Android) or `none` (No header will be rendered) |
@@ -43,6 +41,8 @@ The basic routing component for this router, all `<Scene>` components require a
43
41
|`navBar`|`React.Component`|| Optional React component to render custom NavBar |
44
42
|`navBarButtonColor`|`string`|| Set the color of the back button in the navBar |
45
43
|`navigationBarStyle`|`Style`|| Style applied to nav bar |
44
+
|`navigationBarTitleImage`|`Image`|| Override the image in the center of the navbar, replacing the `title`|
45
+
|`navigationBarTitleImageStyle`|`object`|| Styles to apply to `navigationBarTitleImage`|
46
46
|`navTransparent`|`boolean`|`false`| nav bar background transparency |
47
47
|`on`|`Function`|| aka `onEnter`|
48
48
|`onEnter`|`Function`|| Called when the `Scene` is navigated to. `props` are provided as a function param. Only scenes with 'component' defined is supported |
@@ -64,10 +64,15 @@ Can use all `props` listed above in `<Scene>` as `<Tabs>` is syntatic sugar for
0 commit comments