-
Notifications
You must be signed in to change notification settings - Fork 86
Swipable Row
Vito Chen edited this page Apr 2, 2017
·
1 revision
If you want to use swipeable row in this listview, I highly recommend you to use react-native-swipeout. To use it, simply put it into the renderRowView()
method and wrap your own <View/>
into <Swipeout/>
component.
import Swipeout from "react-native-swipeout"
import {Text, View} from "react-native";
const swipeoutBtns = [
{
text: 'Button'
}
]
<Swipeout right={swipeoutBtns}>
<View>
<Text>Swipe me</Text>
</View>
</Swipeout>