@dajk/react-carousel
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-alpha.6 • Public • Published

react-carousel-library

Usage

import React from 'react'
import RCL from '@dajk/rcl'

const MyCarousel = () => {
  return (
    <RCL initialSlideIndex={0} onSlideChange={console.log}>
      <div style={{ height: 200, backgroundColor: 'red' }}>1</div>
      <div style={{ height: 200, backgroundColor: 'green' }}>2</div>
      <div style={{ height: 200, backgroundColor: 'blue' }}>3</div>
    </RCL>
  )
}

Readme

Keywords

none

Package Sidebar

Install

npm i @dajk/react-carousel@0.0.0-alpha.6

Version

0.0.0-alpha.6

License

MIT

Unpacked Size

53.1 kB

Total Files

19

Last publish

Collaborators

  • dajk