Skip to content

Commit

Permalink
Fix typo: NativeNodules -> NativeModules (facebook#2658)
Browse files Browse the repository at this point in the history
* Fix typo: NativeNodules -> NativeModules

* backport fix to the latest versioned docs

Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
  • Loading branch information
AlyMBarakat and Simek authored Jun 26, 2021
1 parent 55bc929 commit a8f47ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/native-modules-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const NewModuleButton = () => {
export default NewModuleButton;
```

In order to access your native module from JavaScript you need to first import `NativeNodules` from React Native:
In order to access your native module from JavaScript you need to first import `NativeModules` from React Native:

```jsx
import { NativeModules } from 'react-native';
Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-0.64/native-modules-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const NewModuleButton = () => {
export default NewModuleButton;
```

In order to access your native module from JavaScript you need to first import `NativeNodules` from React Native:
In order to access your native module from JavaScript you need to first import `NativeModules` from React Native:

```jsx
import { NativeModules } from 'react-native';
Expand Down

0 comments on commit a8f47ed

Please sign in to comment.