Skip to content

Commit 2ae5f39

Browse files
authored
Fix import of generated Swift header (#195)
Relates to: #188
1 parent 06d5a40 commit 2ae5f39

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ios/BlurhashViewComponentView.mm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
#import <react/renderer/components/blurhash_codegen/Props.h>
1111
#import <react/renderer/components/blurhash_codegen/RCTComponentViewHelpers.h>
1212

13+
#if __has_include("react_native_blurhash/react_native_blurhash-Swift.h")
14+
#import "react_native_blurhash/react_native_blurhash-Swift.h"
15+
#else
1316
#import "react_native_blurhash-Swift.h"
17+
#endif
1418

1519
using namespace facebook::react;
1620

0 commit comments

Comments
 (0)