2015-03-31 17:44:16 +00:00
|
|
|
#import "BVLinearGradientManager.h"
|
|
|
|
#import "BVLinearGradient.h"
|
2017-01-06 15:16:49 +00:00
|
|
|
#import <React/RCTBridge.h>
|
2015-03-31 17:44:16 +00:00
|
|
|
|
|
|
|
@implementation BVLinearGradientManager
|
|
|
|
|
2015-04-09 19:30:39 +00:00
|
|
|
RCT_EXPORT_MODULE();
|
|
|
|
|
2015-03-31 17:44:16 +00:00
|
|
|
@synthesize bridge = _bridge;
|
|
|
|
|
|
|
|
- (UIView *)view
|
|
|
|
{
|
|
|
|
return [[BVLinearGradient alloc] init];
|
|
|
|
}
|
|
|
|
|
2015-07-13 15:16:51 +00:00
|
|
|
- (dispatch_queue_t)methodQueue
|
|
|
|
{
|
|
|
|
return dispatch_get_main_queue();
|
|
|
|
}
|
|
|
|
|
2015-03-31 17:44:16 +00:00
|
|
|
RCT_EXPORT_VIEW_PROPERTY(colors, NSArray);
|
2015-08-18 21:34:49 +00:00
|
|
|
RCT_EXPORT_VIEW_PROPERTY(start, CGPoint);
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(end, CGPoint);
|
2015-04-01 00:48:11 +00:00
|
|
|
RCT_EXPORT_VIEW_PROPERTY(locations, NSArray);
|
2015-03-31 17:44:16 +00:00
|
|
|
|
|
|
|
@end
|