mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 09:45:04 +00:00
Update NativeComponentsIOS.md
This commit is contained in:
parent
aa7e318a3f
commit
c4457f8e6f
@ -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);
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user