0.1.0 • Published 6 years ago

react-carousel-dots v0.1.0

Weekly downloads
1,505
License
MIT
Repository
github
Last release
6 years ago

This component provides a pagination method with dots for any amount of images/slides.

Quickstart

npm install --save react-carousel-dots

The minimum amount of code to make it work:

import Dots from 'react-carousel-dots';

<Dots length={10} active={0} />

Props

NameDefault valueDescription
length-Required. The amount of dots you want to use.
active-Required. The index of the currently active dot.
visible5Optional. The amount of dots visible on mount.
size16Optional. The width and height of a dot.
margin1Optional. The right- and left-margin of a dot.
className-Optional. This class will be added to the holder div.
0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago