mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-05 22:56:11 +00:00
Added CI workflow and local pre-commit hook for formatting and linting the newly added JS, iOS and Android code.
32 lines
896 B
Objective-C
32 lines
896 B
Objective-C
/**
|
|
* 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 <Foundation/Foundation.h>
|
|
|
|
#import <React/RCTBridge.h>
|
|
#import "RNSVGLength.h"
|
|
#import "RNSVGRenderable.h"
|
|
#import "RNSVGVBMOS.h"
|
|
|
|
#import <React/RCTImageSource.h>
|
|
|
|
@interface RNSVGImage : RNSVGRenderable
|
|
|
|
@property (nonatomic, weak) RCTBridge *bridge;
|
|
@property (nonatomic, assign) id src;
|
|
@property (nonatomic, strong) RNSVGLength *x;
|
|
@property (nonatomic, strong) RNSVGLength *y;
|
|
@property (nonatomic, strong) RNSVGLength *imagewidth;
|
|
@property (nonatomic, strong) RNSVGLength *imageheight;
|
|
@property (nonatomic, strong) NSString *align;
|
|
@property (nonatomic, assign) RNSVGVBMOS meetOrSlice;
|
|
|
|
- (void)setImageSrc:(RCTImageSource *)source request:(NSURLRequest *)request;
|
|
|
|
@end
|