Update README.md with valid code example.

Custom iOS View code sample was missing RCT_EXPORT_MODULE()
This commit is contained in:
Nick Hudkins 2015-05-11 19:06:15 -04:00
parent 35590440d6
commit d43d093bf7
1 changed files with 2 additions and 0 deletions

View File

@ -177,6 +177,8 @@ Custom iOS views can be exposed by subclassing `RCTViewManager`, implementing a
@implementation MyCustomViewManager
RCT_EXPORT_MODULE();
- (UIView *)view
{
return [[MyCustomView alloc] init];