Skip to content

Commit

Permalink
feat: support tintColor on Android (rnmapbox#1465)
Browse files Browse the repository at this point in the history
* feat: support tintColor on Android

* Update CHANGELOG.md
  • Loading branch information
janicduplessis authored and mikalaiulasevich committed Sep 23, 2021
1 parent 78d7a7f commit bbd7896
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ public void setContentInset(RCTMGLMapView mapView, ReadableArray array) {
mapView.setReactContentInset(array);
}

@ReactProp(name = "tintColor", customType = "Color")
public void setTintColor(RCTMGLMapView mapView, @Nullable Integer tintColor) {
mapView.setTintColor(tintColor);
}

@ReactProp(name="locale")
public void setLocale(RCTMGLMapView mapView, String locale) {
mapView.setReactLocale(locale);
Expand Down

0 comments on commit bbd7896

Please sign in to comment.