Skip to content

Instantly share code, notes, and snippets.

@talkol
Last active June 11, 2016 23:46
Show Gist options
  • Save talkol/e9a4cc854822fa5cfdfbb7a2e75ef36c to your computer and use it in GitHub Desktop.
Save talkol/e9a4cc854822fa5cfdfbb7a2e75ef36c to your computer and use it in GitHub Desktop.
#import "RNTableViewManager.h"
#import "RNTableView.h"
@implementation RNTableViewManager
RCT_EXPORT_MODULE()
- (UIView *)view
{
return [[RNTableView alloc] initWithBridge:self.bridge];
}
RCT_EXPORT_VIEW_PROPERTY(rowHeight, float)
RCT_EXPORT_VIEW_PROPERTY(numRows, NSInteger)
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment