image slider component
npm install mazadat-image-slider
import { ImageSliderView } from "mazadat-image-slider";
// ...
const onItemSelected = event => {
console.log(event.nativeEvent['data']);
};
<ImageSliderView
onChange={onItemSelected}
data={['image1Url,image2Url,image3Url']}
color="#000000"
style={styles.box} />
#Features
* pinch to zoom
* double click to zoom in/out by 2x
* the scroll is disabled when zooming in
See the contributing guide to learn how to contribute to the repository and the development workflow.
MAZADAT
Made with create-react-native-library