瀏覽代碼

Update styling-the-navigator.md

Guy Carmeli 7 年之前
父節點
當前提交
67855149d1
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. 1
    0
      docs/styling-the-navigator.md

+ 1
- 0
docs/styling-the-navigator.md 查看文件

@@ -40,6 +40,7 @@ this.props.navigator.setStyle({
40 40
   navBarBackgroundColor: '#f7f7f7', // change the background color of the nav bar (remembered across pushes)
41 41
   navBarCustomView: 'example.CustomTopBar', // registered component name
42 42
   navBarComponentAlignment: 'center', // center/fill
43
+  navBarCustomViewInitialProps: {}, // Serializable JSON passed as props
43 44
   navBarButtonColor: '#007aff', // Change color of nav bar buttons (eg. the back button) (remembered across pushes)
44 45
 
45 46
   navBarHidden: false, // make the nav bar hidden