mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-01 06:07:41 +00:00
98c14b4f45
Added CI workflow and local pre-commit hook for formatting and linting the newly added JS, iOS and Android code.
29 lines
596 B
Plaintext
29 lines
596 B
Plaintext
/**
|
|
* 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 "RNSVGEllipseManager.h"
|
|
|
|
#import "RCTConvert+RNSVG.h"
|
|
#import "RNSVGEllipse.h"
|
|
|
|
@implementation RNSVGEllipseManager
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
- (RNSVGRenderable *)node
|
|
{
|
|
return [RNSVGEllipse new];
|
|
}
|
|
|
|
RCT_EXPORT_VIEW_PROPERTY(cx, RNSVGLength *)
|
|
RCT_EXPORT_VIEW_PROPERTY(cy, RNSVGLength *)
|
|
RCT_EXPORT_VIEW_PROPERTY(rx, RNSVGLength *)
|
|
RCT_EXPORT_VIEW_PROPERTY(ry, RNSVGLength *)
|
|
|
|
@end
|