alexbrillant / react-native-deck-swiper

tinder like react-native deck swiper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Have Swiper take full screen

packerfan626 opened this issue · comments

Is there any way to fix the size of the swiper to take up the full screen?

commented

make card width, height as device width, height using this

const windowWidth = Dimensions.get('window').width;
const windowHeight = Dimensions.get('window').height; 

and make cardHorizontalMargin and cardVerticalMargin to zero by adding Swiper props as

 cardHorizontalMargin={0}
  cardVerticalMargin={0}

not working