Skip to content

Commit

Permalink
Fix import of generated Swift header
Browse files Browse the repository at this point in the history
Relates to: mrousavy#188
  • Loading branch information
Johennes committed Jun 28, 2024
1 parent 06d5a40 commit 22deb68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ios/BlurhashViewComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
#import <react/renderer/components/blurhash_codegen/Props.h>
#import <react/renderer/components/blurhash_codegen/RCTComponentViewHelpers.h>

#if __has_include("react_native_blurhash/react_native_blurhash-Swift.h")
#import "react_native_blurhash/react_native_blurhash-Swift.h"
#else
#import "react_native_blurhash-Swift.h"
#endif

using namespace facebook::react;

Expand Down

0 comments on commit 22deb68

Please sign in to comment.