Commit d02e7fed authored by pramod.nichelabs's avatar pramod.nichelabs

added on delete props

parent e9ee053a
......@@ -32,10 +32,11 @@ const UserAuctionListScreen = ({navigation}) => {
{auctions.map((auction) => {
return(
<AppAuctionItem delete label={auction.name} expire={auction.expire_date}
onPress={() =>
navigation.navigate("AuctionDetailScreen", {
auctionObject: auction})
}/>
onPress={() =>
navigation.navigate("AuctionDetailScreen", {
auctionObject: auction})
}
onDelete={() => console.log('delete')}/>
)
})}
</ScrollView>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment