GT2/GT2-Android/node_modules/react-native-svg/ios/ViewManagers/RNSVGLineManager.m

29 lines
564 B
Mathematica
Raw Normal View History

/**
* Copyright (c) 2015-present, Horcrux.
* All rights reserved.
*
* This source code is licensed under the MIT-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#import "RNSVGLineManager.h"
#import "RNSVGLine.h"
#import "RCTConvert+RNSVG.h"
@implementation RNSVGLineManager
RCT_EXPORT_MODULE()
- (RNSVGRenderable *)node
{
return [RNSVGLine new];
}
RCT_EXPORT_VIEW_PROPERTY(x1, NSString)
RCT_EXPORT_VIEW_PROPERTY(y1, NSString)
RCT_EXPORT_VIEW_PROPERTY(x2, NSString)
RCT_EXPORT_VIEW_PROPERTY(y2, NSString)
@end