Skip to content

Commit 9aef009

Browse files
authored
Add missing ReanimatedSwipeable documentation (#3150)
## Description Add missing documentation for `onSwipeableOpenStartDrag` and `onSwipeableOpenStartDrag` callbacks of `ReanimatedSwipeable` Moved from #3149
1 parent 4b8bcf5 commit 9aef009

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/docs/components/reanimated_swipeable.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,16 @@ Receives swipe direction as an argument.
8080
a function that is called when `swipeable` starts animating on close.
8181
Receives swipe direction as an argument.
8282

83+
### `onSwipeableOpenStartDrag`
84+
85+
a function that is called when a user starts to drag the `swipable` to open.
86+
Receives swipe direction as an argument.
87+
88+
### `onSwipeableCloseStartDrag`
89+
90+
a function that is called when a user starts to drag the `swipable` to close.
91+
Receives swipe direction as an argument.
92+
8393
### `renderLeftActions`
8494

8595
a function that returns a component which will be rendered under the swipeable after swiping it to the right.

0 commit comments

Comments
 (0)