Skip to content

Commit 95931b8

Browse files
authored
Fix Fling tsdoc (#3724)
## Description Seems like I forgot to change it while copying `MouseButton` tsdoc 😅 ## Test plan ### Before <img width="916" height="168" alt="image" src="https://github.com/user-attachments/assets/207a340d-d0c5-4673-9854-7c6e2d5aed4a" /> ### After <img width="920" height="165" alt="image" src="https://github.com/user-attachments/assets/5ffab693-bfc6-4b34-b27f-9c6fe5fc0d13" />
1 parent f8a8183 commit 95931b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-native-gesture-handler/src/handlers/gestures/flingGesture.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class FlingGesture extends BaseGesture<FlingGestureHandlerEventPayload> {
2323
/**
2424
* Expressed allowed direction of movement.
2525
* Expected values are exported as constants in the Directions object.
26-
* Arguments can be combined using `|` operator. Default value is set to `MouseButton.LEFT`.
26+
* Arguments can be combined using `|` operator. Default value is set to `Directions.RIGHT`.
2727
* @param direction
2828
* @see https://docs.swmansion.com/react-native-gesture-handler/docs/gestures/fling-gesture/#directionvalue-directions
2929
*/

0 commit comments

Comments
 (0)