Created
June 22, 2018 08:45
-
-
Save imtoo/b0413b4d8457ca72130d05fe17d834f6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <React/RCTViewManager.h> | |
#import "meetup-Swift.h" | |
@interface ChartViewManager: RCTViewManager | |
@end | |
@implementation ChartViewManager | |
RCT_EXPORT_MODULE() | |
- (UIView *) view { | |
ChartView *view = [[ChartView alloc] init]; | |
return view; | |
} | |
RCT_EXPORT_VIEW_PROPERTY(xValues, NSArray) | |
RCT_EXPORT_VIEW_PROPERTY(yValues, NSArray) | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment