README
binary-ui-carousel
React carousel component.
This component is designed to be used with a binary-ui package with performance in mind. Only visible content is rendered for making DOM tree smaller and first rendering/re-rendering faster.
Installation
yarn add binary-ui-carousel
API
| prop | type | default value |
|---|---|---|
children |
arrayOf[node] |
|
containerHeight |
number |
|
containerWidth |
number |
|
isLoop |
boolean |
false |
renderButtonLeft |
func |
|
renderButtonRight |
func |
|
selectedIndex |
number |
|
onChangeIndex |
func |
License
MIT