react-native-linear-gradient/BVLinearGradientManager.m

25 lines
456 B
Mathematica
Raw Normal View History

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);
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