mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-27 04:32:57 +00:00
chore: change fabric flag (#1979)
Changed `RN_FABRIC_ENABLED` to `RCT_NEW_ARCH_ENABLED` since it is the current standard for this flag.
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
#ifdef RN_FABRIC_ENABLED
|
||||
#ifdef RCT_NEW_ARCH_ENABLED
|
||||
#import <rnsvg/rnsvg.h>
|
||||
#else
|
||||
#import <React/RCTBridge.h>
|
||||
#endif
|
||||
|
||||
@interface RNSVGSvgViewModule : NSObject
|
||||
#ifdef RN_FABRIC_ENABLED
|
||||
#ifdef RCT_NEW_ARCH_ENABLED
|
||||
<NativeSvgViewModuleSpec>
|
||||
#else
|
||||
<RCTBridgeModule>
|
||||
|
||||
Reference in New Issue
Block a user