mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-04 23:54:53 +00:00
Temp commit
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#import "RNSVGImageManager.h"
|
||||
|
||||
#import "RNSVGVBMOS.h"
|
||||
#import "RNSVGImage.h"
|
||||
#import "RCTConvert+RNSVG.h"
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* 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 "RNSVGTextManager.h"
|
||||
|
||||
@interface RNSVGTSpanManager : RNSVGTextManager
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 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 "RNSVGTSpanManager.h"
|
||||
|
||||
#import "RNSVGTSpan.h"
|
||||
#import "RNSVGTextAnchor.h"
|
||||
#import "RCTConvert+RNSVG.h"
|
||||
|
||||
@implementation RNSVGTSpanManager
|
||||
|
||||
RCT_EXPORT_MODULE()
|
||||
|
||||
- (RNSVGRenderable *)node
|
||||
{
|
||||
return [RNSVGTSpan new];
|
||||
}
|
||||
|
||||
RCT_EXPORT_VIEW_PROPERTY(content, NSString)
|
||||
|
||||
@end
|
||||
@@ -20,7 +20,11 @@ RCT_EXPORT_MODULE()
|
||||
return [RNSVGText new];
|
||||
}
|
||||
|
||||
RCT_EXPORT_VIEW_PROPERTY(alignment, CTTextAlignment)
|
||||
RCT_EXPORT_VIEW_PROPERTY(path, RNSVGBezier)
|
||||
RCT_EXPORT_VIEW_PROPERTY(textAnchor, RNSVGTextAnchor)
|
||||
RCT_EXPORT_VIEW_PROPERTY(deltaX, NSArray<NSNumber *>)
|
||||
RCT_EXPORT_VIEW_PROPERTY(deltaY, NSArray<NSNumber *>)
|
||||
RCT_EXPORT_VIEW_PROPERTY(px, NSString)
|
||||
RCT_EXPORT_VIEW_PROPERTY(py, NSString)
|
||||
RCT_EXPORT_VIEW_PROPERTY(font, NSDictionary)
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user