mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
[website] missing parenthesis in java example.
This commit is contained in:
parent
42eb5464fd
commit
7995f28a11
2
website/src/react-native/index.js
vendored
2
website/src/react-native/index.js
vendored
@ -291,7 +291,7 @@ public class MyCustomModule extends ReactContextBaseJavaModule {
|
||||
// Available as NativeModules.MyCustomModule.processString
|
||||
@ReactMethod
|
||||
public void processString(String input, Callback callback) {
|
||||
callback.invoke(input.replace("Goodbye", "Hello");
|
||||
callback.invoke(input.replace("Goodbye", "Hello"));
|
||||
}
|
||||
}
|
||||
`}
|
||||
|
Loading…
x
Reference in New Issue
Block a user