Skip to content

Commit 246bd24

Browse files
authored
Update README.md
1 parent 9ad6d29 commit 246bd24

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ yarn add @reason-react-native/inappbrowser
4343

4444
```reason
4545
open Js.Promise;
46+
open ReactNativeInAppBrowser;
4647
4748
let opts = iosOptions(~preferredBarTintColor="#ff0000", ());
4849
openBrowser("https://rescript-lang.org", `IosOptions(opts))
@@ -55,6 +56,7 @@ openBrowser("https://rescript-lang.org", `IosOptions(opts))
5556

5657
```reason
5758
open Js.Promise;
59+
open ReactNativeInAppBrowser;
5860
5961
openAuthIos("https://example.com/auth", "myschema://auth", `IosOptions(iosOptions()))
6062
|> Js.Promise.then_((result: authResult) => {

0 commit comments

Comments
 (0)