react-advanced-carousel

0.0.0-alpha.3 • Public • Published

react-advanced-carousel

Advanced Carousel for React

NPM JavaScript Style Guide codecov npm bundle size

Install

npm install react-advanced-carousel

or

yarn add react-advanced-carousel

Usage

import React from 'react'
import Carousel from 'react-advanced-carousel'

const items = [
  { id: 1, name: 'first' },
  { id: 2, name: 'second' },
  { id: 3, name: 'third' },
]

const MyCarousel = () => {
  return (
    <>
      <h1>My Carousel</h1>
      <Carousel>
        {items.map((item) => (
          <span key={item.id}>{item.name}</span>
        ))}
      </Carousel>
    </>
  )
}

License

MIT © dajk

Readme

Keywords

none

Package Sidebar

Install

npm i react-advanced-carousel

Weekly Downloads

0

Version

0.0.0-alpha.3

License

MIT

Unpacked Size

56.6 kB

Total Files

14

Last publish

Collaborators

  • dajk