Skip to content

Commit fd382ea

Browse files
committed
Update README
1 parent 298e822 commit fd382ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,13 @@ import InAppBrowser from 'react-native-inappbrowser-reborn'
125125
const result = await InAppBrowser.open(url, {
126126
// iOS Properties
127127
dismissButtonStyle: 'cancel',
128-
preferredBarTintColor: 'gray',
128+
preferredBarTintColor: '#453AA4',
129129
preferredControlTintColor: 'white',
130130
readerMode: false,
131+
animated: false,
132+
modalPresentationStyle: 'overFullScreen',
133+
modalTransitionStyle: 'partialCurl',
134+
modalEnabled: false,
131135
// Android Properties
132136
showTitle: true,
133137
toolbarColor: '#6200EE',
@@ -145,7 +149,7 @@ import InAppBrowser from 'react-native-inappbrowser-reborn'
145149
},
146150
headers: {
147151
'my-custom-header': 'my custom header value'
148-
},
152+
}
149153
})
150154
Alert.alert(JSON.stringify(result))
151155
}

0 commit comments

Comments
 (0)