apeman-react-slideshow
apeman react package for slideshow components.
Last updated a year ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install apeman-react-slideshow 
SYNC missed versions from official npm registry.

apeman-react-slideshow

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for slideshow components.

Installation

$ npm install apeman-react-slideshow --save

Demo

Live demo is hosted on GitHub Pages.

Usage

'use strict'

import React from 'react'
import {ApSlideshow, ApSlideshowStyle} from 'apeman-react-slideshow'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApSlideshowStyle />
        <ApSlideshow images={[
                    './images/00.jpg',
                    './images/01.jpg',
                    './images/02.jpg',
                    './images/03.jpg',
                    './images/04.jpg',
                    './images/05.jpg',
                    './images/06.jpg',
                    './images/07.jpg'
                ]}
                     repeat={ true }
                     width={ 450 }
                     height={ 300 }
        />
      </div>
    )
  }
})

Components

ApSlideshowStyle

Props

Name Type Default Description
style object {}

ApSlideshow

Props

Name Type Default Description
images array []
repeat bool false
width number 420
height number 280
interval number 20000
effect enum 'fadeAndScale'

License

This software is released under the MIT License.

Links

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 28
Dependencies (7)
Dev Dependencies (25)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |