mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
fix objc syntax error
This commit is contained in:
parent
02298b59e2
commit
ed370eeaad
@ -133,7 +133,7 @@ It is certainly possible to create a great app using React Native without writin
|
||||
- (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
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user