1.0.5 • Published 3 years ago

react-carousel-lite v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 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

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago