Skip to content

Commit

Permalink
Add missing ReanimatedSwipeable documentation (#3150)
Browse files Browse the repository at this point in the history
## Description

Add missing documentation for `onSwipeableOpenStartDrag` and
`onSwipeableOpenStartDrag` callbacks of `ReanimatedSwipeable`

Moved from #3149
  • Loading branch information
latekvo authored Oct 14, 2024
1 parent 4b8bcf5 commit 9aef009
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/docs/components/reanimated_swipeable.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ Receives swipe direction as an argument.
a function that is called when `swipeable` starts animating on close.
Receives swipe direction as an argument.

### `onSwipeableOpenStartDrag`

a function that is called when a user starts to drag the `swipable` to open.
Receives swipe direction as an argument.

### `onSwipeableCloseStartDrag`

a function that is called when a user starts to drag the `swipable` to close.
Receives swipe direction as an argument.

### `renderLeftActions`

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

0 comments on commit 9aef009

Please sign in to comment.