Skip to content

Commit db78085

Browse files
sgnyMoOx
authored andcommitted
Change Dimensions width and height to float (#525)
1 parent 05eb907 commit db78085

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎reason-react-native/src/apis/Dimensions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ wip: true
77
```reason
88
type t = {
99
.
10-
"width": int,
11-
"height": int,
10+
"width": float,
11+
"height": float,
1212
"scale": float,
1313
"fontScale": float,
1414
};

‎reason-react-native/src/apis/Dimensions.re‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
type t = {
22
.
3-
"width": int,
4-
"height": int,
3+
"width": float,
4+
"height": float,
55
"scale": float,
66
"fontScale": float,
77
};

0 commit comments

Comments
 (0)