mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-08-16 02:44:58 +00:00
fix(ios): backwards compatible RCTImageLoader.h handling fixes #1141
This commit is contained in:
@@ -9,10 +9,20 @@
|
||||
#import "RNSVGImage.h"
|
||||
#import "RCTConvert+RNSVG.h"
|
||||
#import <React/RCTImageSource.h>
|
||||
|
||||
#if __has_include(<React/RCTImageLoader.h>)
|
||||
|
||||
#import <React/RCTImageLoader.h>
|
||||
|
||||
#else
|
||||
|
||||
#import <React/RCTImageURLLoader.h>
|
||||
#import <React/RCTImageShadowView.h>
|
||||
#import <React/RCTImageView.h>
|
||||
#import <React/RCTImageLoaderProtocol.h>
|
||||
|
||||
#endif
|
||||
|
||||
#import <React/RCTLog.h>
|
||||
#import "RNSVGViewBox.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user