You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you share the code for styles.image? I tested it on my machine and I can get an image to display in the card. Here's the code I used for the render prop (I didn't change any other code in example/App.js):
{(card)=>card===null ? (<Viewstyle={styles.card}><Textstyle={styles.text}>
You've reached the end of the deck, pal.
</Text></View>) : (<Viewstyle={styles.card}><Imagestyle={styles.tinyLogo}source={{uri: 'https://reactnative.dev/img/tiny_logo.png'}}/></View>)}
You might also want to try pulling master again. I found a few bugs when trying to run the code locally, and I just pushed up those fixes. They were import errors though, so I don't think they would be relevant to this issue.
Is there a way to display an image in a card?
just leaves a blank card...
The text was updated successfully, but these errors were encountered: