Files
react-native-svg/apple/ViewManagers/RNSVGDefsManager.mm
Bohdan Artiukhov 67620f5b6a fix: macOS new architecture build (#2341)
# 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>
2024-07-23 15:34:32 +02:00

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