瀏覽代碼

Doc update for tabFontFamily (#2033)

jay1337 7 年之前
父節點
當前提交
941444d8c2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      docs/styling-the-tab-bar.md

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

@@ -38,7 +38,7 @@ Navigation.startTabBasedApp({
38 38
     tabBarButtonColor: '#ffffff',
39 39
     tabBarSelectedButtonColor: '#63d7cc',
40 40
     tabBarTranslucent: false,
41
-    tabFontFamily: 'Avenir-Medium.ttf'  // for asset file or use existing font family name
41
+    tabFontFamily: 'Avenir-Medium'  // existing font family name or asset file without extension which can be '.ttf' or '.otf' (searched only if '.ttf' asset not found)
42 42
   },
43 43
 ...
44 44
 }