mazadat-image-slider
v1.12.6
Published
test
Downloads
249
Readme
mazadat-image-slider
image slider component
Installation
npm install mazadat-image-slider
Usage
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
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MAZADAT
Made with create-react-native-library