Skip to content

Commit 487ae78

Browse files
author
Christian Bach
committed
fix: ensure SwipeDirection is imported as a value in ReanimatedSwipeable
1 parent 6cdbdbe commit 487ae78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/react-native-gesture-handler/src/components/ReanimatedSwipeable/ReanimatedSwipeable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ import Animated, {
1111
runOnUI,
1212
useAnimatedStyle,
1313
} from 'react-native-reanimated';
14-
import { SwipeableProps, SwipeableMethods, SwipeDirection } from '.';
14+
import type { SwipeableProps, SwipeableMethods } from './ReanimatedSwipeableProps';
15+
import { SwipeDirection } from './ReanimatedSwipeableProps';
1516
import { Gesture } from '../..';
1617
import {
1718
GestureStateChangeEvent,

0 commit comments

Comments
 (0)