Customizable react carousel
Latest version: 0.0.3
DEMO
Simple but effective customizable carousel component.
It will render only showItemsCount + 2
carousel items, where 2 is left and right hidden items.
Running examples locally:
- clone project
- run
yarn
- run
yarn dev-server
- open
localhost:8080
Installation
Props
infinite | boolean | false | items count should be showItemsCount + 1 |
showItemsCount | integer | 3 | |
transitionDuration | integer | 0.5 | Slide animation duration (seconds) |
nextArrow | function/class | FaAngleRight | A function/class of component to extend default next arrow |
prevArrow | function/class | FaAngleLeft | A function/class of component to extend default prev arrow |
ArrowWrapperClassName | string | '' | Will be added provided className to arrow wrapper. Also will be added ArrowWrapperClassName--prev and ArrowWrapperClassName--next to corresponding arrows |