Skip to content

Commit

Permalink
Update README.md with valid code example.
Browse files Browse the repository at this point in the history
Custom iOS View code sample was missing RCT_EXPORT_MODULE()
  • Loading branch information
nickhudkins committed May 11, 2015
1 parent 3559044 commit d43d093
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit d43d093

Please sign in to comment.