0.3.7 • Published 3 years ago

react-smart-carousel v0.3.7

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

react-smart-carousel

NPM JavaScript Style Guide

Trello clone

Install

npm install --save react-smart-carousel

If you prefer to use yarn, you can do:

yarn add react-smart-carousel

Usage

import React, { Component } from 'react'

import { ReactSmartCarousel } from 'react-smart-carousel'
import 'react-smart-carousel/dist/index.css'

import one from './images/1.jpg'
import two from './images/2.jpg'
import three from './images/3.jpg'
import four from './images/4.jpg'
import five from './images/5.jpg'
import six from './images/6.jpg'

const Example = () =>  {
    return <ReactSmartCarousel images={[one, two, three, four, five, six]} />
}

Props

  • images - An array of images

Demo

Live preview

License

MIT © knowankit

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago