diff --git a/apple/RNGestureHandlerButtonComponentView.mm b/apple/RNGestureHandlerButtonComponentView.mm index c4cdc99d8c..f9bf4ccf3b 100644 --- a/apple/RNGestureHandlerButtonComponentView.mm +++ b/apple/RNGestureHandlerButtonComponentView.mm @@ -34,6 +34,16 @@ - (instancetype)initWithFrame:(CGRect)frame return self; } +- (void)mountChildComponentView:(UIView *)childComponentView index:(NSInteger)index +{ + [_buttonView mountChildComponentView:childComponentView index:index]; +} + +- (void)unmountChildComponentView:(UIView *)childComponentView index:(NSInteger)index +{ + [_buttonView unmountChildComponentView:childComponentView index:index]; +} + #pragma mark - RCTComponentViewProtocol + (ComponentDescriptorProvider)componentDescriptorProvider