浏览代码

Update README.md

Ran 8 年前
父节点
当前提交
6c4864200f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

@@ -443,7 +443,7 @@ this.props.navigator.toggleDrawer({
443 443
 Toggle whether the tabs are displayed or not (only in tab-based apps).
444 444
 
445 445
 ```js
446
-this.props.navigator.toggleDrawer({
446
+this.props.navigator.toggleTabs({
447 447
   to: 'hidden', // required, 'hidden' = hide tab bar, 'shown' = show tab bar
448 448
   animated: true // does the toggle have transition animation or does it happen immediately (optional)
449 449
 });