Skip to content

Commit f1e8f97

Browse files
authored
feat: add load method (#3063)
PR adding `load` method needed for dynamic frameworks to work with the library. See facebook/react-native#37274 for more information.
1 parent 301d951 commit f1e8f97

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

apple/RNGestureHandlerButtonComponentView.mm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ @implementation RNGestureHandlerButtonComponentView {
2121
RNGestureHandlerButton *_buttonView;
2222
}
2323

24+
// Needed because of this: https://github.com/facebook/react-native/pull/37274
25+
+ (void)load
26+
{
27+
[super load];
28+
}
29+
2430
- (instancetype)initWithFrame:(CGRect)frame
2531
{
2632
if (self = [super initWithFrame:frame]) {

0 commit comments

Comments
 (0)