25 lines
456 B
Objective-C
25 lines
456 B
Objective-C
#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);
|
|
|
|
- (NSDictionary *)constantsToExport
|
|
{
|
|
return @{};
|
|
}
|
|
|
|
@end
|