Skip to content

Commit 322f4e8

Browse files
sgnyMoOx
authored andcommitted
StatusBar: add binding for currentHeight constant (#507)
1 parent d805dd8 commit 322f4e8

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎reason-react-native/src/components/StatusBar.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,7 @@ external setBackgroundColor: (Color.t, bool) => unit = "";
5050
[@bs.module "react-native"] [@bs.scope "StatusBar"]
5151
external setTranslucent: bool => unit = "";
5252
53+
[@bs.module "react-native"] [@bs.scope "StatusBar"]
54+
external currentHeight: float = "";
55+
5356
```

‎reason-react-native/src/components/StatusBar.re‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,6 @@ external setBackgroundColor: (Color.t, bool) => unit = "";
4242

4343
[@bs.module "react-native"] [@bs.scope "StatusBar"]
4444
external setTranslucent: bool => unit = "";
45+
46+
[@bs.module "react-native"] [@bs.scope "StatusBar"]
47+
external currentHeight: float = "";

0 commit comments

Comments
 (0)