Browse Source

Add missing comma (#3106)

David Antoon 6 years ago
parent
commit
da176aae96
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

70
   drawer: { // optional, add this if you want a side menu drawer in your app
70
   drawer: { // optional, add this if you want a side menu drawer in your app
71
     left: { // optional, define if you want a drawer from the left
71
     left: { // optional, define if you want a drawer from the left
72
       screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
72
       screen: 'example.FirstSideMenu', // unique ID registered with Navigation.registerScreen
73
-      passProps: {} // simple serializable object that will pass as props to all top screens (optional),
73
+      passProps: {}, // simple serializable object that will pass as props to all top screens (optional),
74
       fixedWidth: 500, // a fixed width you want your left drawer to have (optional)
74
       fixedWidth: 500, // a fixed width you want your left drawer to have (optional)
75
     },
75
     },
76
     right: { // optional, define if you want a drawer from the right
76
     right: { // optional, define if you want a drawer from the right
77
       screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
77
       screen: 'example.SecondSideMenu', // unique ID registered with Navigation.registerScreen
78
-      passProps: {} // simple serializable object that will pass as props to all top screens (optional)
78
+      passProps: {}, // simple serializable object that will pass as props to all top screens (optional)
79
       fixedWidth: 500, // a fixed width you want your right drawer to have (optional)
79
       fixedWidth: 500, // a fixed width you want your right drawer to have (optional)
80
     },
80
     },
81
     style: { // ( iOS only )
81
     style: { // ( iOS only )