mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 23:24:06 +08:00
Update NativeComponentsIOS.md
This commit is contained in:
@@ -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);
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user