https://github.com/beefe/react-native-slide
A slide written in pure javascript for cross-platform support.
https://github.com/beefe/react-native-slide
Last synced: about 1 year ago
JSON representation
A slide written in pure javascript for cross-platform support.
- Host: GitHub
- URL: https://github.com/beefe/react-native-slide
- Owner: beefe
- Created: 2016-01-21T13:57:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-15T16:45:24.000Z (almost 9 years ago)
- Last Synced: 2024-04-09T21:49:50.550Z (about 2 years ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 8
- Watchers: 5
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#react-native-slide

A Slide written in pure javascript for cross-platform support.
Needs react-native >= 0.14.2
###Documentation
####Props
- height number, height of the slide
- autoPlay number, the interval of autoplay. Unset this param to forbid autoplay.
- showPagination bool, show pagination or not
- paginationStyle viewStylePropType, style of pagination
- paginationWrapStyle style object, style of paginationWrap
- activePaginationStyle style object, style of activePaginationStyle
####Method
- isDragging return dragging or not
###Usage
####Step 1 - install
```
npm install react-native-slide --save
```
####Step 2 - import and use in project
```javascript
import Slide from 'react-native-slide'
{your slide items}
```