touchflip-react
A Reusable Flipping Component For ReactJS
Demo
Install
npm install --save touchflip-react
Usage
import React Component from 'react' import TouchFlip from 'touchflip-react' { return <TouchFlip // = // ^ = // ^ . // = // ^ = // ^ = // ^ 'ease-in' 'ease-in-out' . = // ^ 'horizontal' 'vertical' = // ^ , // // ^ , // = // ^ = // ^ = ="touchflip-main-ctr" // ^ = = />; }
see
example/src/App.js
to check the code for demo app.
Development Guide
- This component is packaged by
create-react-library
(https://www.npmjs.com/package/create-react-library). - Refer to their latest documentation.
- The gist is, two npm starts, one in
/
and the other inexample/
dir.
License
MIT © ahmednooor