Skip to content

Commit 586de42

Browse files
fkgozalifacebook-github-bot
authored andcommitted
iOS: Export RCTConvert+Transform.h header (#41179)
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
1 parent c999535 commit 586de42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/React/Views/RCTConvert+Transform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* LICENSE file in the root directory of this source tree.
66
*/
77

8-
#import "RCTConvert.h"
8+
#import <React/RCTConvert.h>
99
#import "UIView+React.h"
1010

1111
@interface RCTConvert (Transform)

0 commit comments

Comments
 (0)