Update README.md
Removed an extra bracket and line end "];" in the callback of the processString method.
This commit is contained in:
parent
1e2d57122e
commit
3ad16b96f1
|
@ -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
|
- (void)processString:(NSString *)input callback:(RCTResponseSenderBlock)callback
|
||||||
{
|
{
|
||||||
RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString
|
RCT_EXPORT(); // available as NativeModules.MyCustomModule.processString
|
||||||
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"];]]);
|
callback(@[[input stringByReplacingOccurrencesOfString:@"Goodbye" withString:@"Hello"]]);
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue