Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { Directions } from '../../../../Directions';

export type FlingGestureNativeProperties = {
/**
* Expressed allowed direction of movement. It's possible to pass one or many
Expand All @@ -15,7 +13,7 @@ export type FlingGestureNativeProperties = {
* direction={Directions.DOWN}
* ```
*/
direction?: Directions;
direction?: number;

/**
* Determine exact number of points required to handle the fling gesture.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Directions } from '../../../../Directions';
import {
BaseDiscreteGestureConfig,
ExcludeInternalConfigProps,
Expand All @@ -18,10 +17,7 @@ type FlingHandlerData = {
absoluteY: number;
};

type FlingGestureProperties = WithSharedValue<
FlingGestureNativeProperties,
Directions
>;
type FlingGestureProperties = WithSharedValue<FlingGestureNativeProperties>;

type FlingGestureInternalConfig = BaseDiscreteGestureConfig<
FlingHandlerData,
Expand Down
Loading