Skip to content

Commit

Permalink
add deprecation note to the old swipeable
Browse files Browse the repository at this point in the history
  • Loading branch information
latekvo committed Jun 27, 2024
1 parent 7ce9b53 commit f7dabef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/docs/components/swipeable.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ import GifGallery from '@site/components/GifGallery'
<img src={useBaseUrl("gifs/sampleswipeable.gif")} height="120" />
</GifGallery>

:::caution
This component is deprecated.
Please use [the reanimated version](/react-native-gesture-handler/docs/components/reanimated_swipeable).
:::

This component allows for implementing swipeable rows or similar interaction. It renders its children within a panable container allows for horizontal swiping left and right. While swiping one of two "action" containers can be shown depends on whether user swipes left or right (containers can be rendered by `renderLeftActions` or `renderRightActions` props).

### Usage:
Expand Down

0 comments on commit f7dabef

Please sign in to comment.