Skip to content

Commit

Permalink
Fix import of generated Swift header (#195)
Browse files Browse the repository at this point in the history
Relates to: #188
  • Loading branch information
Johennes committed Jul 1, 2024
1 parent 06d5a40 commit 2ae5f39
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 2ae5f39

Please sign in to comment.