Update README.md

Removed an extra bracket and line end "];" in the callback of the processString method.
This commit is contained in:
Chris Jungmann 2015-03-31 14:43:08 -06:00
parent 1e2d57122e
commit 3ad16b96f1
1 changed files with 1 additions and 1 deletions

View File

@ -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
```