Browse Source

Update top-level-api.md (#1658)

RajanPN 7 years ago
parent
commit
5717449ca6
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      docs/top-level-api.md

+ 2
- 2
docs/top-level-api.md View File

@@ -69,7 +69,7 @@ Navigation.startTabBasedApp({
69 69
     style: { // ( iOS only )
70 70
       drawerShadow: true, // optional, add this if you want a side menu drawer shadow
71 71
       contentOverlayColor: 'rgba(0,0,0,0.25)', // optional, add this if you want a overlay color when drawer is open
72
-      leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent)
72
+      leftDrawerWidth: 50, // optional, add this if you want a define left drawer width (50=percent)
73 73
       rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
74 74
     },
75 75
     type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'
@@ -106,7 +106,7 @@ Navigation.startSingleScreenApp({
106 106
     style: { // ( iOS only )
107 107
       drawerShadow: true, // optional, add this if you want a side menu drawer shadow
108 108
       contentOverlayColor: 'rgba(0,0,0,0.25)', // optional, add this if you want a overlay color when drawer is open
109
-      leftDrawerWidth: 50 // optional, add this if you want a define left drawer width (50=percent)
109
+      leftDrawerWidth: 50, // optional, add this if you want a define left drawer width (50=percent)
110 110
       rightDrawerWidth: 50 // optional, add this if you want a define right drawer width (50=percent)
111 111
     },
112 112
     type: 'MMDrawer', // optional, iOS only, types: 'TheSideBar', 'MMDrawer' default: 'MMDrawer'