Skip to content

Commit acead8e

Browse files
husky-devfacebook-github-bot
authored andcommitted
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 #16675 Differential Revision: D6241675 Pulled By: hramos fbshipit-source-id: d1ce8764399c4589d99060fba726aae0a379f183
1 parent 7c95db1 commit acead8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/IntegrationWithExistingApps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ const styles = StyleSheet.create({
362362
});
363363

364364
// Module name
365-
AppRegistry.registerComponent('MyReactNativeApp', () => RNHighScores);
365+
AppRegistry.registerComponent('RNHighScores', () => RNHighScores);
366366
```
367367

368368
> `RNHighScores` is the name of your module that will be used when you add a view to React Native from within your iOS application.

0 commit comments

Comments
 (0)