Skip to content

Commit

Permalink
Updated API.md for CurrentScene
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabs3 authored and mvanroon committed Feb 15, 2018
1 parent cdf6d1b commit a7a2776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ These can be used directly, for example, `Actions.pop()` will dispatch correspon
| Property | Type | Parameters | Description |
|-----------------|----------|----------|--------------------------------------------|
| `[key]` | `Function` | `Object` | The `Actions` object "automagically" uses the `Scene`'s `key` prop in the `Router` to navigate. To navigate to a scene, call `Actions.key()` or `Actions[key].call()`. |
| `currentScene` | `Function` | | Returns the current scene that is active |
| `currentScene` | `String` | | Returns the current scene that is active |
| `jump` | `Function` | `(sceneKey: String, props: Object)` | used to switch to a new tab. For `Tabs` only. |
| `pop` | `Function` | | Go back to the previous scene by "popping" the current scene off the nav stack |
| `popAndPush` | `Function` | `(sceneKey: String, props: Object)` |
Expand Down

0 comments on commit a7a2776

Please sign in to comment.