From bc921506b62650c34aaf31a7f41110f54420ceab Mon Sep 17 00:00:00 2001 From: rajaishwary Date: Wed, 2 Aug 2017 18:27:49 +0530 Subject: [PATCH 1/2] update docs for ios drawer animations in top-level-api section --- docs/top-level-api.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/top-level-api.md b/docs/top-level-api.md index 892776b1a2d..8cd02120ac3 100644 --- a/docs/top-level-api.md +++ b/docs/top-level-api.md @@ -72,6 +72,9 @@ Navigation.startTabBasedApp({ leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent) rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent) }, + type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer' + animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale' + for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list' disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button }, passProps: {}, // simple serializable object that will pass as props to all top screens (optional) @@ -106,6 +109,9 @@ Navigation.startSingleScreenApp({ leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent) rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent) }, + type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer' + animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale' + for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list' disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button }, passProps: {}, // simple serializable object that will pass as props to all top screens (optional) From cca746eb8d01239110eb3935315b91665e2368a7 Mon Sep 17 00:00:00 2001 From: rajaishwary Date: Wed, 2 Aug 2017 18:30:20 +0530 Subject: [PATCH 2/2] update docs for ios drawer animations in top-level-api section --- docs/top-level-api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/top-level-api.md b/docs/top-level-api.md index 8cd02120ac3..7fdb6a0b254 100644 --- a/docs/top-level-api.md +++ b/docs/top-level-api.md @@ -74,7 +74,7 @@ Navigation.startTabBasedApp({ }, type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer' animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale' - for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list' + // for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list' disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button }, passProps: {}, // simple serializable object that will pass as props to all top screens (optional) @@ -111,7 +111,7 @@ Navigation.startSingleScreenApp({ }, type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer' animationType: 'door', //optional, iOS only, for MMDrawer: 'door', 'parallax', 'slide', 'slide-and-scale' - for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list' + // for TheSideBar: 'airbnb', 'facebook', 'luvocracy','wunder-list' disableOpenGesture: false // optional, can the drawer be opened with a swipe instead of button }, passProps: {}, // simple serializable object that will pass as props to all top screens (optional)