React Swipe Tab Views Library

时间:2016-04-15 15:06:53

标签: javascript reactjs tabs frontend babel

I need "react tab views" in my front end application. I am using react 0.14.8 and using "bable", so using es6 syntax. Any easy to import library ? I tried using react swipe views, but that doesn't work with the latest react and react dom version.

1 个答案:

答案 0 :(得分:0)

这个很好用:

https://oliviertassinari.github.io/react-swipeable-views/

我在meteorjs的应用程序中使用它。

安装

npm install --save react-swipeable-views react-motion

和导入:

import SwipeableViews from 'react-swipeable-views';

希望它有所帮助!