Skip to content

afeiship/react-swipeable-views

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-swipeable-views

Abstract swipeable views for react.

resource:

properties:

{
  unit:PropTypes.string,
  animate:PropTypes.string,
  duration:PropTypes.number,
  activeIndex:PropTypes.number,
  onNext:PropTypes.func,
  onPrev:PropTypes.func,
  onChange:PropTypes.func,
}

usage:

import ReactSwipeableViews from 'react-swipeable-views';

class xxSwiper extends ReactSwipeableViews{
  toIndex(){
    //to be implement
  }

  updateIndex(){
    //to be implement
  }
}

About

Abstract swipeable views for react.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published