Skip to content

Commit f9382cd

Browse files
authored
Update README.md
1 parent f711b52 commit f9382cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ LocationServicesDialogBox.checkLocationServicesIsEnabled({
104104
message: "<font color='#f1eb0a'>Use Location ?</font>",
105105
ok: "YES",
106106
cancel: "NO",
107-
style: {
107+
style: { // (optional)
108108
backgroundColor: '#87a9ea',
109109

110110
positiveButtonTextColor: '#ffffff',
@@ -120,6 +120,7 @@ LocationServicesDialogBox.checkLocationServicesIsEnabled({
120120
});
121121

122122
```
123+
<img width="529" alt="screen shot 2018-07-07 at 16 58 28" src="https://user-images.githubusercontent.com/973302/42411805-3246281a-820b-11e8-862c-8d8cd12d90f3.png"/>
123124

124125
### Usage And Example For Async Method `ES6`
125126

@@ -245,6 +246,7 @@ AppRegistry.registerComponent('SampleApp', () => SampleApp);
245246
|`preventOutSideTouch` (optional) |`Boolean` |`true` |To prevent the location services window from closing when it is clicked outside |
246247
|`preventBackClick` (optional) |`Boolean` |`true` |To prevent the location services popup from closing when it is clicked back button |
247248
|`providerListener` (optional) |`Boolean` |`false` |Used to trigger `locationProviderStatusChange listener when the location state changes. |
249+
|`style` (optional) |`Object` |`{}` |Change colors|
248250

249251
### Methods
250252

0 commit comments

Comments
 (0)