1 /** 2 * Copyright (c) 2015-present, Horcrux. 3 * All rights reserved. 4 * 5 * This source code is licensed under the MIT-style license found in the 6 * LICENSE file in the root directory of this source tree. 7 */ 8 9 #import <Foundation/Foundation.h> 10 11 #import <React/RCTBridge.h> 12 #import "RNSVGLength.h" 13 #import "RNSVGRenderable.h" 14 #import "RNSVGVBMOS.h" 15 16 #import <React/RCTImageSource.h> 17 18 #ifdef RCT_NEW_ARCH_ENABLED 19 #import <React/RCTImageResponseDelegate.h> 20 #endif 21 22 @interface RNSVGImage : RNSVGRenderable 23 #ifdef RCT_NEW_ARCH_ENABLED 24 <RCTImageResponseDelegate> 25 #endif 26 27 @property (nonatomic, weak) RCTBridge *bridge; 28 @property (nonatomic, assign) RCTImageSource *src; 29 @property (nonatomic, strong) RNSVGLength *x; 30 @property (nonatomic, strong) RNSVGLength *y; 31 @property (nonatomic, strong) RNSVGLength *imagewidth; 32 @property (nonatomic, strong) RNSVGLength *imageheight; 33 @property (nonatomic, strong) NSString *align; 34 @property (nonatomic, assign) RNSVGVBMOS meetOrSlice; 35 36 @end 37