瀏覽代碼

Documented Constants

yogevbd 6 年之前
父節點
當前提交
842e7aa9b2
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16
    0
      docs/docs/constants.md

+ 16
- 0
docs/docs/constants.md 查看文件

@@ -0,0 +1,16 @@
1
+# Constants
2
+
3
+## statusBarHeight
4
+```js
5
+const statusBarHeight = Navigation.constants().statusBarHeight;
6
+```
7
+
8
+## topBarHeight
9
+```js
10
+const topBarHeight = Navigation.constants().topBarHeight;
11
+```
12
+
13
+## bottomTabsHeight
14
+```js
15
+const bottomTabsHeight = Navigation.constants().bottomTabsHeight;
16
+```