Skip to content
Open
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
7 changes: 7 additions & 0 deletions docs/docs/api/components/swipeable.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,13 @@ style object for the children container (Animated.View), for example to apply `f

Enables two-finger gestures on supported devices, for example iPads with trackpads. If not enabled the gesture will require click + drag, with enableTrackpadTwoFingerGesture swiping with two fingers will also trigger the gesture.

### `useNativeAnimations`

Whether to use native animations. Defaults to `true`. Note that if you use
`LayoutAnimation` to smooth deletions/changes of `Swipeable` items in a list
(e.g. you want a swipe-right to delete the item from the list and render an
deletion animation via `LayoutAnimation.configureNext`), you'll want to set this to `false`. Otherwise, your list will show the non-open version of the Swipeable as it animates out of the list.

## Methods

Using reference to `Swipeable` it's possible to trigger some actions on it
Expand Down