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
6 changes: 3 additions & 3 deletions docs/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ With actions both visible and hidden component can react when you swipe a row fo

To configure actions you can use props below:
- `leftActivationValue` - TranslateX value for firing `onLeftActionStatusChange` (positive number)
- `rightActivationValue` - TranslateX value for firing - `onRightActionStatusChange` (negative number)
- `rightActivationValue` - TranslateX value for firing `onRightActionStatusChange` (negative number)
- `leftActionValue` - TranslateX value for left action to which the row will be shifted after gesture release
`rightActionValue` - TranslateX value for right action to which the row will be shifted after gesture release
- `rightActionValue` - TranslateX value for right action to which the row will be shifted after gesture release
- `initialLeftActionState` - initial value for left action state (default is false)
- `initialRightActionState` - initial value for right action state (default is false)

Expand All @@ -27,4 +27,4 @@ Also there is an additional props will be passed to Visible and Hidden row compo
- `leftActionState` - boolean value of left action state
- `rightActionState` - boolean value of right action state

See the [actions example](https://github.com/jemise111/react-native-swipe-list-view/blob/master/SwipeListExample/examples/actions.js) for reference.
See the [actions example](https://github.com/jemise111/react-native-swipe-list-view/blob/master/SwipeListExample/examples/actions.js) for reference.