Skip to content

Commit

Permalink
Merge pull request #36 from erichbehrens/feature/normalize-classnames
Browse files Browse the repository at this point in the history
Support for slider className
  • Loading branch information
erichbehrens committed Apr 24, 2018
2 parents 5338ff2 + 91dbb2e commit cca602a
Show file tree
Hide file tree
Showing 5 changed files with 348 additions and 1,259 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[![dependencies](https://david-dm.org/erichbehrens/react-animated-slider.svg)](https://david-dm.org/erichbehrens/react-animated-slider)
[![devDependencies](https://david-dm.org/erichbehrens/react-animated-slider/dev-status.svg)](https://david-dm.org/erichbehrens/react-animated-slider?type=dev)

Animated slider component for react.
A Slider/Carousel component for React supporting custom css animations.

[Demo](http://erichbehrens.github.io/react-animated-slider/) - [Codesandbox Playground](https://codesandbox.io/s/p582xl40j)

Expand Down Expand Up @@ -87,6 +87,8 @@ Will be rendered inside the next button
**classNames** `object`, default

```js
{
slider: 'slider',
previousButton: 'previousButton',
nextButton: 'nextButton',
buttonDisabled: 'disabled',
Expand All @@ -105,6 +107,8 @@ Object representing the CSS classNames that will be apllied to the slides.

### Classnames

**slider** the classname for the whole Slider element

**previousButton** previous button

**nextButton** next button
Expand Down
2 changes: 1 addition & 1 deletion build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cca602a

Please sign in to comment.