diff --git a/docs/NativeComponentsIOS.md b/docs/NativeComponentsIOS.md index b4b6b22da..69b04e929 100644 --- a/docs/NativeComponentsIOS.md +++ b/docs/NativeComponentsIOS.md @@ -116,7 +116,7 @@ Next, let's add the more complex `region` prop. We start by adding the native c ```objectivec // RNTMapManager.m -RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, RNTMap) +RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, MKMapView) { [view setRegion:json ? [RCTConvert MKCoordinateRegion:json] : defaultView.region animated:YES]; }