Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/native-modules-ios.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ RCT_EXPORT_METHOD(addEvent:(NSString *)name location:(NSString *)location)
@end
```

Now, from your JavaScript file you can call the method like this:
Now, from your JavaScript file you can call the method like this (after making sure to rebuild):

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