/3d-react-carousel

A 3D React Carousel Library

Primary LanguageTypeScript

3d-react-carousel

A 3D React Library

NPM JavaScript Style Guide

Install

npm install --save 3d-react-carousel

or

yarn add 3d-react-carousel

Usage

import React, { Component } from 'react'

import MyComponent from '3d-react-carousel'
import '3d-react-carousel/dist/index.css'

const Example = () => {
  return (
    <div>
      <Carousel>
        <img src='https://picsum.photos/800/304/?random' alt='5' />
        <img src='https://picsum.photos/801/304/?random' alt='5' />
        <img src='https://picsum.photos/802/304/?random' alt='5' />
        <img src='https://picsum.photos/803/304/?random' alt='5' />
        <img src='https://picsum.photos/805/304/?random' alt='5' />
        <img src='https://picsum.photos/806/304/?random' alt='5' />
        <img src='https://picsum.photos/807/304/?random' alt='5' />
      </Carousel>
    </div>
  )
}

License

MIT © devphenom