1.0.4 • Published 3 years ago

react-awesome-customisable-carousel v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

carousel-test

Customisable React Carousel

NPM JavaScript Style Guide

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" suffix
  • imgHeight - Pass custom heigh with "px" or "vh" suffix

License

MIT © M-o-h-a-n-S-i-n-g-h