1.0.4 • Published 6 years ago
another-react-slider v1.0.4
Another React Slider
another-react-slider is a customizable React Component that renders mixed content slider/carousel.
Demo
http://zhadaev.github.io/another-react-slider
Sandbox
Installation
npm install --save another-react-slideror
yarn add another-react-sliderMain Props
| Attribute | Type | Required | Description | |
|---|---|---|---|---|
| data | array | yes | Array of objects with slides data | |
| slideEl | node | yes | React component to render slide item | |
| navPrevEl | node | no | React component to render custom previous button | |
| navNextEl | node | no | React component to render custom next button | |
| navDotEl | node | no | React component to render custom dot navigation item | |
| autoPlay | number | no | Enable autoplay and set delay to change slides automatically | |
| hideNavigation | boolean | no | Hide arrows slider navigation | |
| hideDots | boolean | no | Hide arrows slider navigation | |
| showPlayPause | boolean | no | Show play/pause button |