From c4457f8e6fde7502f647cefb1417663fa5a17864 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 3 Jun 2015 00:34:25 -0700 Subject: [PATCH] Update NativeComponentsIOS.md --- docs/NativeComponentsIOS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/NativeComponentsIOS.md b/docs/NativeComponentsIOS.md index 1ab2b97bd..455ccaa03 100644 --- a/docs/NativeComponentsIOS.md +++ b/docs/NativeComponentsIOS.md @@ -51,6 +51,7 @@ Then you just need a little bit of JavaScript to make this a usable React compon var { requireNativeComponent } = require('react-native'); +// requireNativeComponent automatically resolves this to "RCTMapManager" module.exports = requireNativeComponent('RCTMap', null); ```