Sfoglia il codice sorgente

Fix setStackRoot animation documentation (#3849)

Raphael Hovsepyan 6 anni fa
parent
commit
7ac78c2b3c
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5
    1
      docs/docs/screen-api.md

+ 5
- 1
docs/docs/screen-api.md Vedi File

@@ -60,7 +60,11 @@ Navigation.setStackRoot(this.props.componentId, {
60 60
           text: 'Root screen'
61 61
         },
62 62
         options: {
63
-          animated: true // Will animate root change same as push
63
+          animations: {
64
+            setStackRoot: {
65
+              enable: true
66
+            }
67
+          }
64 68
         }
65 69
       }
66 70
 });