react-list-swipe
v1.0.5
Published
react-list-swipe
Downloads
18
Readme
react-list-swipe
Usage
npm install react-list-swipe --save-dev
import ListSwipe from 'react-list-swipe';
<ListSwipe>
<div className="swipe-list-view-cell">
<div className="swipe-right-btn bg-success">
点赞
</div>
<div className="swipe-right-btn bg-info" >
正常
</div>
<div className="swipe-handle">
左滑显示两个按钮
</div>
</div>
<div className="swipe-list-view-cell">
<div className="swipe-right-btn bg-success">
点赞
</div>
<div className="swipe-right-btn bg-info" >
正常
</div>
<div className="swipe-handle">
左滑显示两个按钮
</div>
</div>
</ListSwipe>
##Environment version
node: v5.9.0
npm: v3.7.3