{"repo":"moschan/react-native-flip-card","free":true,"listed":false,"github":"https://github.com/moschan/react-native-flip-card","clone":"git clone https://github.com/moschan/react-native-flip-card.git","description":"The card component which has a motion of flip for React Native(iOS/Android)","language":"JavaScript","stars":389,"topics":["react","react-native","card-component","animation"],"license":"MIT","category":"mobile-apps","readme_excerpt":"react-native-flip-card === The card component which have motion of flip for React Native(iOS/Android) Demo --- Installation == in Cli --- Usage === Simple --- Customized --- Props === flip(bool) Default: false --- If you change default display side, you can set true to this param. If you change side, you can pass bool variable dynamically. clickable(bool) Default: true --- If you want to disable click a card, you can set false to this param. friction(number) Default: 6 --- The friction of card animation perspective(number) Default: 0 --- The amount of perspective applied to the flip transformation flipHorizontal(bool) Default: false --- If you set true, a card flip to horizontal. flipVertical(bool) Default: true --- If you set false, a card not flip to vertical. If you set true both flipHorizontal and flipVertical , a card flip to diagonal. vertical diagnoal ---- ---- onFlipStart(function) (isFlipStart) = {} --- When a card starts a flip animation, call onFlipEnd function with param. onFlipEnd(function) (isFlipEnd) = {} --- When a card finishes a flip animation, call onFlipEnd function with param. alignHeight(boolean) Default:false --- If you pass true to alignHeight param, the card keep height of bigger side. alignWidth(boolean) Default:false --- If you pass true to alignWidth param, the card keep width of bigger side. useNativeDriver(boolean) Default:false --- If you pass true to useNativeDriver param, the card animation will utilize the native driver. Credits === Inspired ","default_branch":null,"files":null,"tree":[],"storefront":"/r/moschan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/moschan/react-native-flip-card/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}