Merge pull request #665 from yangguang2009/bugfix
This commit is contained in:
commit
6899676bea
|
@ -176,7 +176,7 @@ RCT_EXPORT_MODULE();
|
|||
// Available as NativeModules.MyCustomModule.processString
|
||||
RCT_EXPORT_METHOD(processString:(NSString *)input callback:(RCTResponseSenderBlock)callback)
|
||||
{
|
||||
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]);
|
||||
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]);
|
||||
}
|
||||
@end`}
|
||||
</Prism>
|
||||
|
|
Loading…
Reference in New Issue