Browse Source

Fix setStackRoot animation documentation (#3849)

Raphael Hovsepyan 6 years ago
parent
commit
7ac78c2b3c
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      docs/docs/screen-api.md

+ 5
- 1
docs/docs/screen-api.md View 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
 });