binary-ui-carousel

React carousel component.

Usage no npm install needed!

<script type="module">
  import binaryUiCarousel from 'https://cdn.skypack.dev/binary-ui-carousel';
</script>

README

binary-ui-carousel

Greenkeeper badge Build Status npm package Dependency Status devDependency Status peerDependency Status

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