瀏覽代碼

Update styling.md (#3509)

`largeTitle: true` is not valid and throws error
Hadi Mostafapour 6 年之前
父節點
當前提交
8ecedee97e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      docs/docs/styling.md

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

@@ -75,10 +75,10 @@ Navigation.mergeOptions(this.props.componentId, {
75 75
     buttonColor: 'black',
76 76
     drawBehind: false,
77 77
     testID: 'topBar',
78
-    largeTitle: true, // iOS 11+ Large Title
79 78
     searchBar: true, // iOS 11+ native UISearchBar inside topBar
80 79
     searchBarHiddenWhenScrolling: true,
81 80
     searchBarPlaceholder: 'Search', // iOS 11+ SearchBar placeholder
81
+    // iOS 11+ Large Title
82 82
     largeTitle: {
83 83
       visible: true,
84 84
       fontSize: 30,