From e57655274d9239d875bde26c781204111dfa109c Mon Sep 17 00:00:00 2001 From: Tieme van Veen Date: Wed, 12 Jul 2017 14:35:26 -0700 Subject: [PATCH] Fix 14436 - Docs: ios-native-ui-guide 'RNTMap' -> 'MKMapView' fix Summary: Quick fix for https://github.com/facebook/react-native/issues/14436 Closes https://github.com/facebook/react-native/pull/14982 Differential Revision: D5409794 Pulled By: javache fbshipit-source-id: ea59a9a11b689459e68c05a92095fdcee1da717f --- docs/NativeComponentsIOS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }