Browse Source

Move animationType property to parent (#4608)

Robin van Wijngaarden 6 years ago
parent
commit
3fa61d4faf
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      docs/docs/styling.md

+ 3
- 4
docs/docs/styling.md View File

@@ -192,14 +192,13 @@ Navigation.mergeOptions(this.props.componentId, {
192 192
   sideMenu: {
193 193
     left: {
194 194
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
195
-      animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation
196
-      animationType: 'parallax' // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'    
195
+      animationVelocity: 2500 // defaults to 840, high number is a faster sideMenu open/close animation
197 196
     },
198 197
     right: {
199 198
       shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
200
-      animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation
201
-      animationType: 'parallax' // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'    
199
+      animationVelocity: 2500 // defaults to 840, high number is a faster sideMenu open/close animation
202 200
     },
201
+    animationType: 'parallax', // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'    
203 202
     openGestureMode: 'entireScreen' | 'bezel'
204 203
   }
205 204
   bottomTabs: {