Clickable image on the cards
See original GitHub issueHi, I was trying to add click action on the image of a card component.
Here is my code :
<View style={styles.container}>
<FlatList
data={ this.state.interests }
extraData={ this.state.showDetails }
renderItem={
({item}) => {
return (
<Card
image={{ uri: item.picture }}
imageStyle= {styles.image}
backgroundColor='white'
>
{this.renderInterests(item)}
</Card>
);
}
}
keyExtractor={(item, index) => index}
/>
</View>
It seems from the documentation there isn’t specific property on the card component. I definitely want to use the card’s property image because I want to keep the header image style.
How I can do that ? I need your help please !
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:16 (4 by maintainers)
Top Results From Across the Web
AnyImage.io - Turn Any Image into a Clickable Link!
Create clickable social cards for Facebook, Twitter, LinkedIn and Google+ in seconds linking to any web ... Turning Your Images into Clickable Social...
Read more >HOW TO CREATE A CLICKABLE SOCIAL CARD OR IMAGE ...
A social clickable card is a way to show off your image, title, and description on social media. These types of posts tend...
Read more >How to Create Clickable Social Cards in Seconds [Infographic]
With this free online tool, it will take you just seconds to create an unlimited number of clickable social cards linking to any...
Read more >How to Create Clickable Social Cards in Seconds - Spiceworks
What sets them apart from regular images is that clicking on any part of the social card will take you directly to the...
Read more >Clickable Images - Search Product Cards - Yext Hitchhikers
Is there a way to make the images of product cards clickable without using the ProductProminentImageClickable card type?
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thank you so much for your help ! I locally add a touchable around the image on Card.js ! It works ! Thank you ! I will add a pull request as soon as possible.
Yea it’s still open.