Skip to content

Commit e576552

Browse files
teamehfacebook-github-bot
authored andcommitted
Fix 14436 - Docs: ios-native-ui-guide 'RNTMap' -> 'MKMapView' fix
Summary: Quick fix for #14436 Closes #14982 Differential Revision: D5409794 Pulled By: javache fbshipit-source-id: ea59a9a11b689459e68c05a92095fdcee1da717f
1 parent c41b5a0 commit e576552

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/NativeComponentsIOS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Next, let's add the more complex `region` prop. We start by adding the native c
116116

117117
```objectivec
118118
// RNTMapManager.m
119-
RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, RNTMap)
119+
RCT_CUSTOM_VIEW_PROPERTY(region, MKCoordinateRegion, MKMapView)
120120
{
121121
[view setRegion:json ? [RCTConvert MKCoordinateRegion:json] : defaultView.region animated:YES];
122122
}

0 commit comments

Comments
 (0)