瀏覽代碼

Add missing comma (#3106)

David Antoon 6 年之前
父節點
當前提交
da176aae96
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      docs/top-level-api.md

+ 2
- 2
docs/top-level-api.md 查看文件

@@ -70,12 +70,12 @@ Navigation.startTabBasedApp({
70 70
   drawer: { // optional, add this if you want a side menu drawer in your app
71 71
     left: { // optional, define if you want a drawer from the left
72 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 74
       fixedWidth: 500, // a fixed width you want your left drawer to have (optional)
75 75
     },
76 76
     right: { // optional, define if you want a drawer from the right
77 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 79
       fixedWidth: 500, // a fixed width you want your right drawer to have (optional)
80 80
     },
81 81
     style: { // ( iOS only )