webraptor / react-native-deck-swiper

tinder like react-native deck swiper
ISC License
126 stars 81 forks source link

How to reduce the opacity of cards in background #25

Open jamesdunay opened 3 years ago

jamesdunay commented 3 years ago

I was wondering how, and if, it might be possible to reduce the opacity of cards that are not on top of the stack?

badkos commented 3 years ago

Up. Also, is it possible to decrease the transparency of the map when clicked?

webraptor commented 3 years ago

I was wondering how, and if, it might be possible to reduce the opacity of cards that are not on top of the stack?

This would work only by passing extra arguments to the renderCard method so that you can set up how top or deck cards are rendered differently

webraptor commented 3 years ago

Up. Also, is it possible to decrease the transparency of the map when clicked?

To what map are you referring to?