瀏覽代碼

Update README.md

Tal Kol 9 年之前
父節點
當前提交
f559b0672d
共有 1 個文件被更改,包括 12 次插入0 次删除
  1. 12
    0
      README.md

+ 12
- 0
README.md 查看文件

@@ -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`