react-native-swipe-list-view 手动关闭row

冷英博
2023-12-01

<SwipeList

renderHiddenRow={ (data, secdId, rowId, rowMap) => {

<TouchableOpacity onPress={ _ => rowMap[`${secId}${rowId}`].closeRow() }> <Text>I close the row</Text>

</TouchableOpacity> }}

/>

 类似资料: