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

added on delete props

parent e9ee053a
...@@ -32,10 +32,11 @@ const UserAuctionListScreen = ({navigation}) => { ...@@ -32,10 +32,11 @@ const UserAuctionListScreen = ({navigation}) => {
{auctions.map((auction) => { {auctions.map((auction) => {
return( return(
<AppAuctionItem delete label={auction.name} expire={auction.expire_date} <AppAuctionItem delete label={auction.name} expire={auction.expire_date}
onPress={() => onPress={() =>
navigation.navigate("AuctionDetailScreen", { navigation.navigate("AuctionDetailScreen", {
auctionObject: auction}) auctionObject: auction})
}/> }
onDelete={() => console.log('delete')}/>
) )
})} })}
</ScrollView> </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