File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,11 @@ Initial dimensions are set before `runApplication` is called so they should be a
31
31
32
32
Example: ` var {height, width} = Dimensions.get('window'); `
33
33
34
- @param {string} dim Name of dimension as defined when calling ` set ` . @returns {Object?} Value for the dimension.
34
+ ** Parameters:**
35
+
36
+ | Name | Type | Required | Description |
37
+ | ------ | ------ | -------- | ----------------------------------------------------------------------------------------------|
38
+ | dim | string | Yes | Name of dimension as defined when calling ` set ` . @returns {Object?} Value for the dimension. |
35
39
36
40
> For Android the ` window ` dimension will exclude the size used by the ` status bar ` (if not translucent) and ` bottom navigation bar `
37
41
@@ -55,4 +59,8 @@ static set(dims)
55
59
56
60
This should only be called from native code by sending the didUpdateDimensions event.
57
61
58
- @param {object} dims string-keyed object of dimensions to set
62
+ ** Parameters:**
63
+
64
+ | Name | Type | Required | Description |
65
+ | ------ | ------ | -------- | ------------------------------------------|
66
+ | dims | object | Yes | string-keyed object of dimensions to set |
You can’t perform that action at this time.
0 commit comments