Skip to content

Commit

Permalink
Move animationType property to parent (#4608)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinvw1 authored and guyca committed Jan 21, 2019
1 parent 025095d commit 3fa61d4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/docs/styling.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,14 +192,13 @@ Navigation.mergeOptions(this.props.componentId, {
sideMenu: {
left: {
shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation
animationType: 'parallax' // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'
animationVelocity: 2500 // defaults to 840, high number is a faster sideMenu open/close animation
},
right: {
shouldStretchDrawer: false, // defaults to true, when false sideMenu contents not stretched when opened past the width
animationVelocity: 2500, // defaults to 840, high number is a faster sideMenu open/close animation
animationType: 'parallax' // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'
animationVelocity: 2500 // defaults to 840, high number is a faster sideMenu open/close animation
},
animationType: 'parallax', // defaults to none if not provided, options are 'parallax', 'door', 'slide', or 'slide-and-scale'
openGestureMode: 'entireScreen' | 'bezel'
}
bottomTabs: {
Expand Down

0 comments on commit 3fa61d4

Please sign in to comment.