@moonwalker/orbit-ui-react-carousel
React UI carousel component
Last updated a year ago by moonwalker-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @moonwalker/orbit-ui-react-carousel 
SYNC missed versions from official npm registry.

ui-react-carousel

React UI Carousel component.

Instalation

npm install @moonwalker/orbit-ui-react-carousel

or

yarn add @moonwalker/orbit-ui-react-carousel

Peer dependencies

  • react
  • react-dom
  • prop-types
  • smooth-scroll-into-view-if-needed

Polyfills

Usage

import { Carousel } from '@moonwalker/orbit-ui-react-carousel';

const Item = ({ text, index }) => (
  <div
    style={{
      width: '100px'
      ...(index > 0 && { marginLeft: '8px' })
    }}
  >
    {text}
  </div>
)

export const App = () => (
  <Carousel
    items={[Item1, Item2]}
  />
)

Current Tags

  • 1.14.0-beta.0                                ...           beta (a year ago)
  • 1.14.0-beta.0                                ...           latest (a year ago)

1 Versions

  • 1.14.0-beta.0                                ...           a year ago

Copyright 2014 - 2017 © taobao.org |