-
Notifications
You must be signed in to change notification settings - Fork 129
Open
Description
Getting this error
<CardStack
loop
initialIndex={0}
verticalSwipe={false}
renderNoMoreCards={() => !loading && (
<View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
<Text style={{ fontWeight: '700', fontSize: 18, color: 'gray' }}>No more cards :(</Text>
</View>
)}
ref={swiper}
style={{ flex: 1 }}
onSwipedRight={onSwipedRight}
onSwipedLeft={onSwipedLeft}
>
{!loading && cards.map((item, index) => (
<Card key={item.id}>
<CardItem
hasActions
imageUrl={item.imageUrl}
name={item.title}
description={item.description}
score={item.score}
swiper={swiper}
/>
</Card>
)}
</CardStack>karladler, githrdw, staceb, oddmdma and Theeeus
Metadata
Metadata
Assignees
Labels
No labels