Abstract swipeable views for react.
- http://www.cnblogs.com/Kummy/p/4966937.html
- https://github.com/steven5538/vue-button
- https://yarnpkg.com/en/docs/install
{
unit:PropTypes.string,
animate:PropTypes.string,
duration:PropTypes.number,
activeIndex:PropTypes.number,
onNext:PropTypes.func,
onPrev:PropTypes.func,
onChange:PropTypes.func,
}
import ReactSwipeableViews from 'react-swipeable-views';
class xxSwiper extends ReactSwipeableViews{
toIndex(){
//to be implement
}
updateIndex(){
//to be implement
}
}