2015-03-31 17:44:16 +00:00
|
|
|
#import "BVLinearGradientManager.h"
|
|
|
|
#import "BVLinearGradient.h"
|
|
|
|
#import "RCTBridge.h"
|
|
|
|
|
|
|
|
@implementation BVLinearGradientManager
|
|
|
|
|
|
|
|
@synthesize bridge = _bridge;
|
|
|
|
|
|
|
|
- (UIView *)view
|
|
|
|
{
|
|
|
|
return [[BVLinearGradient alloc] init];
|
|
|
|
}
|
|
|
|
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(colors, NSArray);
|
2015-04-01 00:48:11 +00:00
|
|
|
RCT_EXPORT_VIEW_PROPERTY(start, NSArray);
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(end, NSArray);
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(locations, NSArray);
|
2015-03-31 17:44:16 +00:00
|
|
|
|
|
|
|
- (NSDictionary *)constantsToExport
|
|
|
|
{
|
|
|
|
return @{};
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|