<ParallexSwiper /> takes data as a prop (built on top of react-native FlatList).
Shape of data object is
{
name: '',
cover: require(''),
avatar: require(''),
cardTitle: '',
cardText: '',
},
cover and avatar are images.
import ParallexSwiper from './ParallexSwiper';
export default class App extends React.Component {
render() {
return (
<ParallexSwiper data={data} />
);
}
}
- Make card configurable (support images)
- Animated duration and easing functions as props
Laggy gif is due to low fps of gif recorder
