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:
Jaroslav Khorishchenko 2017-11-04 11:38:14 -07:00 committed by Facebook Github Bot
parent 7c95db11d7
commit acead8e2ba
1 changed files with 1 additions and 1 deletions

View File

@ -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.