mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
# Summary Based on recommendations from this [proposition](https://github.com/software-mansion/react-native-svg/issues/2192#issuecomment-2177330499) and added some changes now we can build macOS using the new architecture. ## Compatibility | OS | Implemented | | ------- | :---------: | | macOS | ✅ | --------- Co-authored-by: Maciej Stosio <maciekstosio@users.noreply.github.com>
27 lines
426 B
Plaintext
27 lines
426 B
Plaintext
/**
|
|
* 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 "RNSVGDefsManager.h"
|
|
#import "RNSVGDefs.h"
|
|
|
|
@implementation RNSVGDefsManager
|
|
|
|
RCT_EXPORT_MODULE()
|
|
|
|
- (RNSVGDefs *)node
|
|
{
|
|
return [RNSVGDefs new];
|
|
}
|
|
|
|
- (RNSVGPlatformView *)view
|
|
{
|
|
return [self node];
|
|
}
|
|
|
|
@end
|