fix(docs): fixing wrong module name in the example of "Integration with Existing Apps" page
Summary: The current example of `Objective-C/Swift` component will not work cos of wrong module name in the example. If change `MyReactNativeApp` to the `RNHighScores` everything starts working. [DOCS] [BUGFIX] [IntegrationWithExistingApps.md] - Wrong module name in the example. Closes https://github.com/facebook/react-native/pull/16675 Differential Revision: D6241675 Pulled By: hramos fbshipit-source-id: d1ce8764399c4589d99060fba726aae0a379f183
This commit is contained in:
parent
7c95db11d7
commit
acead8e2ba
|
@ -362,7 +362,7 @@ const styles = StyleSheet.create({
|
|||
});
|
||||
|
||||
// Module name
|
||||
AppRegistry.registerComponent('MyReactNativeApp', () => RNHighScores);
|
||||
AppRegistry.registerComponent('RNHighScores', () => RNHighScores);
|
||||
```
|
||||
|
||||
> `RNHighScores` is the name of your module that will be used when you add a view to React Native from within your iOS application.
|
||||
|
|
Loading…
Reference in New Issue