Skip to content

Commit

Permalink
iOS: Export RCTConvert+Transform.h header (#41179)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #41179

Some libraries need to import it, e.g.:
https://github.com/software-mansion/react-native-svg/blob/f9c7d8a807c8dc5b21e8ac0358a9bf7a820a1f61/apple/ViewManagers/RNSVGNodeManager.mm#L12

But depending on the build configuration, `#import "RCTConvert.h"` may not be able to find the header properly, so let's move it to `<React/RCTConvert.h>`

Changelog: [Internal]

Reviewed By: javache

Differential Revision: D50586352

fbshipit-source-id: a770008acec311a498cf667545bf899f9a8cbef9
  • Loading branch information
fkgozali authored and facebook-github-bot committed Oct 25, 2023
1 parent c999535 commit 586de42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-native/React/Views/RCTConvert+Transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/

#import "RCTConvert.h"
#import <React/RCTConvert.h>
#import "UIView+React.h"

@interface RCTConvert (Transform)
Expand Down

0 comments on commit 586de42

Please sign in to comment.