Skip to content

Commit

Permalink
feat: add load method (#3063)
Browse files Browse the repository at this point in the history
PR adding `load` method needed for dynamic frameworks to work with the library. See facebook/react-native#37274 for more information.
  • Loading branch information
WoLewicki authored Aug 30, 2024
1 parent 301d951 commit f1e8f97
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apple/RNGestureHandlerButtonComponentView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ @implementation RNGestureHandlerButtonComponentView {
RNGestureHandlerButton *_buttonView;
}

// Needed because of this: https://github.com/facebook/react-native/pull/37274
+ (void)load
{
[super load];
}

- (instancetype)initWithFrame:(CGRect)frame
{
if (self = [super initWithFrame:frame]) {
Expand Down

0 comments on commit f1e8f97

Please sign in to comment.