1.0.4 • Published 1 year ago

image-slider-without-library v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago
  1. First, install our library | use below npm script

    npm i image-slider-without-library

  2. Only Available in Npm for the Now

PropsValue TypeDescription
ImageComponentimages component, default as images , ArrayAn Array Needed with Key 'i' for the ypu can map and change the Key
arrowColorstringdefault color is black
onPressImagefunctionFunction (value)=>console.log(value) function return value of the image , only works if clickable is set to True
clickablebooleanif True call onPressImage Function to use click function , default false
showArrowsbooleanShow the left and right arrows to change the Image Manually , default false
autoPlaybooleanSlide the image from left to right interval time is 1500
circleLoopbooleanWorks only if autoPlay is true the image are gone repeating after completing the loop
   <ImageSlider
        showDots
        arrowColor={'white'}
        onPressImage={(imageData) => console.log('Any Action', imageData)}
        clickable
        showArrows
        images={data}
        circleLoop
        autoPlay
    />
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago