Skip to content

Commit

Permalink
Fix gesture in modal for android
Browse files Browse the repository at this point in the history
  • Loading branch information
wildan-m committed Nov 12, 2024
1 parent b2d6a0e commit 66742e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, {forwardRef} from 'react';
import BaseValidateCodeForm from './BaseValidateCodeForm';
import type {ValidateCodeFormHandle, ValidateCodeFormProps} from './BaseValidateCodeForm';
import { gestureHandlerRootHOC } from 'react-native-gesture-handler';

const ValidateCodeForm = forwardRef<ValidateCodeFormHandle, ValidateCodeFormProps>((props, ref) => (
<BaseValidateCodeForm
Expand All @@ -11,4 +12,4 @@ const ValidateCodeForm = forwardRef<ValidateCodeFormHandle, ValidateCodeFormProp
/>
));

export default ValidateCodeForm;
export default gestureHandlerRootHOC(ValidateCodeForm);

0 comments on commit 66742e6

Please sign in to comment.