mazadat-image-slider
TypeScript icon, indicating that this package has built-in type declarations

1.12.3 • Public • Published

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

Package Sidebar

Install

npm i mazadat-image-slider

Weekly Downloads

1

Version

1.12.3

License

MAZADAT

Unpacked Size

851 kB

Total Files

91

Last publish

Collaborators

  • karim.saad