react-tinderable
v0.1.8
Published
Tinder-like swipeable component in React
Downloads
19
Readme
react-tinderable
Usage
Install react-tinderable
from npm
npm install react-tinderable
In your javascript, require react-tinderable
and render a Tinderable
component
var React = require('react'),
Tinderable = require('react-tinderable');
var data = [
{title: '', text: '', id: '', image: ''}
];
React.render(
<Tinderable initialCardsData={data} />,
document.body
);
Dev
Clone the repo
git clone [email protected]:dgellow/react-tinderable.git
cd react-tinderable
Install dependencies
npm install
Build JSX
npm run build
or
npm run watch
Build and run examples
npm run examples
Author
Samuel El-Borai aka dgellow, http://webp.ch