Skip to content

Commit

Permalink
replace usage of AnimatedValue
Browse files Browse the repository at this point in the history
  • Loading branch information
latekvo committed Jun 28, 2024
1 parent f7dabef commit f16b01e
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions docs/docs/components/reanimated_swipeable.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,21 +83,25 @@ an argument.

method that is expected to return an action panel that is going to be revealed from the left side when user swipes right.
This map describes the values to use as inputRange for extra interpolation:
AnimatedValue: [startValue, endValue]

progressAnimatedValue: [0, 1]
dragAnimatedValue: [0, +]
SharedValue: [startValue, endValue]

progress: [0, 1]

drag: [0, +]

To support `rtl` flexbox layouts use `flexDirection` styling.

### `renderRightActions`

method that is expected to return an action panel that is going to be revealed from the right side when user swipes left.
This map describes the values to use as inputRange for extra interpolation:
AnimatedValue: [startValue, endValue]

progressAnimatedValue: [0, 1]
dragAnimatedValue: [0, -]
SharedValue: [startValue, endValue]

progress: [0, 1]

drag: [0, -]

To support `rtl` flexbox layouts use `flexDirection` styling.

Expand Down

0 comments on commit f16b01e

Please sign in to comment.