round-carousel
v1.0.9
Published
awesome image round carousel
Downloads
4
Readme
awesome-cards
Everyone needs a card for their project
Install
npm install --save awesome-cards
Usage
import React, { Component } from 'react'
import { RoundCarousel } from 'awesome-cards'
import 'awesome-cards/dist/index.css'
export const MyComponent = () => {
const props = {
/* see props section below */
}
return <RoundCarousel {...props} />
}
Props
| Prop | Default Value | Type | Description |
| ------- | ----------------------- | ------ | --------------------------------------------- |
| list
| [] | array | array of objects with title, picture and text |
| width
| 500px
| string | circule width |
| timer
| "2000"
| number | time to pass from one picture to next picture |
| color
| array of 12 blue colors | array | array of 12 colors |
| |
License
MIT © rubenperezf
License
MIT © rubenperezf