Installation
Install react-swipeable-views.
react-swipeable-views is available as a npm packages.
Package | Version | Download | Size (kB gzipped) |
---|---|---|---|
react-swipeable-views | 5.08 | ||
react-swipeable-views-utils | 3.52 | ||
react-swipeable-views-native | ? |
npm
npm install --save react-swipeable-views
Packages stucture
The project is split into multiple packages. This is really useful for code sharing and isolation. We are using Lerna to do so. The project has the following packages:
react-swipeable-views-core
: core modules shared between the different packages.- react-swipeable-views: browser implementation of the
<SwipeableViews />
component. - react-swipeable-views-native: native implementations of the
<SwipeableViews />
component. - react-swipeable-views-utils: Higher order Components providing additional functionalities like
virtualize()
.