I am working on react-native-swipeout, but second time I swipe then Swipeout is not working
const SwipeableRow = ({ item, isOpen, onOpen, onPress }) => {
return (
<Swipeout
openRight={isOpen == item.id}
close={true}
onOpen={onOpen}
style={styles.background}
right={[
{
text: 'Delete',
backgroundColor: 'red',
onPress,
},
]}
>
<Row item={item} />
</Swipeout>
)}