react-awesome-customisable-carousel
v1.0.4
Published
Customisable React Carousel
Downloads
9
Readme
carousel-test
Customisable React Carousel
Install
npm install --save react-awesome-customisable-carousel
Usage
import React, { Component } from 'react'
import { Carousel } from 'react-awesome-customisable-carousel'
class Example extends Component {
const Images = [ { image: "URL" }, { image: "URL" } ]
render() {
return (
<Carousel
images={Images}
imgWidth='1000px'
imgHeight='600px'
/>
)
}
}
Props
Common props you may want to specify include:
images
- Array of Objects with images (URL, Local File Paths)imgWidth
- Pass custom width with "px" or "vw" suffiximgHeight
- Pass custom heigh with "px" or "vh" suffix
License
MIT © M-o-h-a-n-S-i-n-g-h