Skip to content

Commit 1be8431

Browse files
idkjsMoOx
authored andcommitted
reason-react-native: example for YellowBox (#565)
1 parent fe49766 commit 1be8431

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reason-react-native/src/apis/YellowBox.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,12 @@ wip: true
99
external ignoreWarnings: array(string) => unit = "";
1010
1111
```
12+
13+
## Example
14+
15+
```reason
16+
YellowBox.ignoreWarnings([|
17+
"Possible Unhandled Promise Rejection",
18+
"Remote debugger",
19+
|]);
20+
```

0 commit comments

Comments
 (0)