mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 23:24:06 +08:00
fix the clerical error
This commit is contained in:
2
website/src/react-native/index.js
vendored
2
website/src/react-native/index.js
vendored
@@ -174,7 +174,7 @@ var GeoInfo = React.createClass({
|
||||
- (void)processString:(NSString *)input callback:(RCTResponseSenderBlock)callback
|
||||
{
|
||||
RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString
|
||||
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]);
|
||||
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]);
|
||||
}
|
||||
@end`}
|
||||
</Prism>
|
||||
|
||||
Reference in New Issue
Block a user