Bläddra i källkod

Update README.md

Ran 9 år sedan
förälder
incheckning
6c4864200f
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      README.md

+ 1
- 1
README.md Visa fil

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