react-native-swipeout
react-native-swipeout copied to clipboard
How can we show left or right onOpen default in list view? Is it Possible ?

I want show button at least one like above screen.If it is possible how can i show this please make it an example.
you need to customize it, let's say for example : var swipeoutBtns = [ { text: Unread, backgroundColor: '#2E86C1', underlayColor: 'rgba(0, 0, 0, 1, 0.6)', onPress: props.onSend, component:<View style={{flex:1,alignItems:'center',justifyContent:'center'}}> <Icon name='message' color='white' size={70}/> <Text style={{color:'white'}}>Unread </Text> </View> } ] and don't forget to add it to Swipeout : <Swipeout right={swipeoutBtns} >