[website] missing parenthesis in java example.
This commit is contained in:
parent
42eb5464fd
commit
7995f28a11
|
@ -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…
Reference in New Issue