瀏覽代碼

Document bottomTabReselected

Guy Carmeli 7 年之前
父節點
當前提交
2f69ac7773
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. 4
    1
      docs/screen-api.md

+ 4
- 1
docs/screen-api.md 查看文件

@@ -289,6 +289,9 @@ export default class ExampleScreen extends Component {
289 289
 	if (event.id === 'bottomTabSelected') {
290 290
 	  console.log('Tab selected!');
291 291
 	}
292
+	if (event.id === 'bottomTabReselected') {
293
+	  console.log('Tab reselected!');
294
+	}
292 295
   }
293 296
 }
294
-```
297
+```