React Carousel Component
npm install @alexcasche/react-carousel##### React Carousel Component.
npm
``bash`
npm install @alexcasche/react-carousel
yarn
`bash`
yarn install @alexcasche/react-carousel
| Name | Type | Default | Description |
| ------------ | ------- | ------- | ----------- |
| orientation | string | horizontal | Set carousel direction (horizontal or vertical). |slide
| effect | string | | Set carousel effect (slide or fade). |350
| speed | number | | Set carousel transition speed (unit milliseconds). |true
| wrap | boolean | | Set carousel wrap. |true
| showControls | boolean | | Set carousel control visiblility. |true
| showIndicators | boolean | | Set carousel indicators visiblility. |
``js
import React, { Component } from 'react';
import Carousel from 'react-carousel';
import 'react-carousel/style.css';
class SimpleExmample extends Component {
render() {
var options = {
speed: 400,
wrap: false,
showIndicators: false
};
return (
First Slide
Second Slide
)
}
}
````