1.1.1 • Published 2 years ago

react-image-whirler v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

react-image-whirler

A package that makes building beautiful image carousels incredibly easy.

NPM JavaScript Style Guide

Install

npm install --save react-image-whirler

Usage

import React, { Component } from 'react'

import { Carousel } from 'react-image-carousel'
import 'react-image-carousel/dist/index.css'

const App = () => {

  const config = {
    showTabs: true,
    loop: false,
    auto: false,
    animationType: 'fade'
  }

  return (
    <Carousel>
      <Carousel.Image src={"http://placekitten.com/200/300"}>
      <Carousel.Image src={"http://placekitten.com/200/301"}>
    </Carousel>
  )
}

License

MIT © Srijan1878