2.0.6 • Published 7 years ago

react-swipr v2.0.6

Weekly downloads
88
License
MIT
Repository
github
Last release
7 years ago

react-swipr

react-swipr is a minimal swiping component for react.

Installation

npm install react-swipr --save

Usage

import Swipr from 'react-swipr'
import ReactDOM from 'react-dom'
import React, { Component, PropTypes } from 'react'

class TestComponent extends Component {
  render () {
    return (
      <div>
        <Swipr elementId="react-swipr-1">
          <li>1</li>
          <li>2</li>
          <li>3</li>
        </Swipr>
      </div>
    )
  }
}

ReactDOM.render( <TestComponent />, document.getElementById('root') )

Styles

react-swipr can be used with your own custom styles. A minimal swipr.css style sheet is included as a guide.

Development

npm install
npm run build
npm test
npm start

License

MIT

2.0.6

7 years ago

2.0.5

7 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.8

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago