1.0.5 • Published 4 years ago

react-carousel-lite v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

React Carousel

A tiny React Carousel Component.

Quick Start

install

yarn add react-carousel-lite -D

import styles

import 'react-carousel-lite/dist/index.css'

Usage

import Carousel from 'react-carousel-lite'

export function App() {
  return (
    <Carousel autoplay>
      // {...content}
    </Carousel>
  )
}

Props

  • autoplay

    default: false

  • dotPosition

    export type DotPosition = 'left' | 'right' | 'top' | 'bottom'

  • easing

    css animationTimingFunction

  • effect

    export type EffectType = 'slide' | 'fade'

  • interval

    ms

  • afterChange/beforeChange

  • children

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago