Merge pull request #2674 from gubatron/master
[website] missing parenthesis in java example.
This commit is contained in:
commit
bda3873e50
|
@ -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