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); ```