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

1.12.6 • 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

Dependencies (0)

    Dev Dependencies (19)

    Package Sidebar

    Install

    npm i mazadat-image-slider

    Weekly Downloads

    9

    Version

    1.12.6

    License

    MAZADAT

    Unpacked Size

    749 kB

    Total Files

    88

    Last publish

    Collaborators

    • karim.saad