mirror of
https://github.com/status-im/react-native.git
synced 2025-02-05 06:04:15 +00:00
Merge pull request #1498 from jtremback/patch-2
Clarify native modules naming
This commit is contained in:
commit
a76647334f
@ -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