diff --git a/docs/NativeComponentsIOS.md b/docs/NativeComponentsIOS.md index fd9f77a1ca1701..65b78f2d50961a 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]; }