Pārlūkot izejas kodu

Update README.md

Tal Kol 9 gadus atpakaļ
vecāks
revīzija
f559b0672d
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. 12
    0
      README.md

+ 12
- 0
README.md Parādīt failu

@@ -96,6 +96,18 @@ export function registerScreens() {
96 96
 }
97 97
 ```
98 98
 
99
+#### Step 3 - That's it
100
+
101
+If you want to do a navigation action like push a new screen over an existing one, take a look at the [Screen API](#screen-api). It would look something like this:
102
+
103
+```js
104
+// this would go inside the Component implementation of one of your screens, like FirstTabScreen.js
105
+this.props.navigator.push({
106
+  screen: 'example.PushedScreen',
107
+  title: 'Pushed Screen'
108
+});
109
+```
110
+
99 111
 ## Top Level API
100 112
 
101 113
 #### `Navigation`