We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey @lhandel , Great work by you in this package, I really appreciate your effort.
Does anyone know how can I refresh only a single card somehow?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
same issue..
Sorry, something went wrong.
const [cards, setCards] = useState([ { key: 0, text: 'test' }, { key: 1, text: 'test' }, { key: 2, text: 'test' }, ]);
return ( <CardStack style={styles.cardStack} renderNoMoreCards={() => ( <Text style={{ fontWeight: '700', fontSize: 18, color: 'gray', }} > No more cards :( )} ref={swiperRef} > {cards.map((card, index) => { return ( {card.text} <Button title='button' onPress={() => { setCards((prev) => prev.map((card) => { if (card.key === index) { card.text = 'updated'; } return card; }) ); }} /> ); })} </CardStack> );
</CardStack>
No branches or pull requests
Hey @lhandel , Great work by you in this package, I really appreciate your effort.
Does anyone know how can I refresh only a single card somehow?
Thanks in advance!
The text was updated successfully, but these errors were encountered: