rns
react-native-swiper-split
npm i react-native-swiper-split
rns

react-native-swiper-split

The best Swiper component for React Native.

by 斯人

1.4.11 (see all)License:ISCTypeScript:Not Found
npm i react-native-swiper-split
Readme

react-native-swiper-split

logo

The best Swiper component for React Native.

With Extras


Basic Usage

  • Install react-native first
$ npm i react-native-swiper-split --save

New Properties

PropDefaultTypeDescription
decreasePage0numberdecrease pixels from child swiper.
pageSplit1numberhow many splits you will see on same page.

require 'react-native-swiper-split'

var Swiper = require('react-native-swiper-split')

Just add those properties

var swiper = React.createClass({
  _onMomentumScrollEnd: function (e, state, context) {
    console.log(state, context.state)
  },
  render: function() {
    return (
      <Swiper style={styles.wrapper}
      decreasePage={20}
      pageSplit={2}>
     ...
      </Swiper>
    )
  }
})

Contribution

  • @Amos The main author.
  • @Ziv The secondary contributor.

Questions

Feel free to contact me or create an issue

Inspired by leecade/react-native-swiper.

Downloads/wk

2

GitHub Stars

10.1K

LAST COMMIT

2yrs ago

MAINTAINERS

1

CONTRIBUTORS

92

OPEN ISSUES

673

OPEN PRs

106
VersionTagPublished
1.4.11
latest
6yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate