Skip to content

Commit cbaf6b0

Browse files
j-piaseckim-bert
andauthored
Refactor GestureDetector (#2901)
## Description This PR refactors GestureDetector file: - splits it into smaller files - renames some variables - removes redundant logic - extracts common logic to utils ## Test plan Test on the Example app --------- Co-authored-by: Michał Bert <[email protected]>
1 parent da2a5e0 commit cbaf6b0

16 files changed

+1046
-911
lines changed

src/handlers/gestureHandlerCommon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const baseGestureHandlerProps = [
4545
'onHandlerStateChange',
4646
] as const;
4747

48-
export const baseGestureHandlerWithMonitorProps = [
48+
export const baseGestureHandlerWithDetectorProps = [
4949
...commonProps,
5050
'needsPointerData',
5151
'manualActivation',

0 commit comments

Comments
 (0)