0.2.2 • Published 8 years ago

react-native-slide v0.2.2

Weekly downloads
15
License
ISC
Repository
github
Last release
8 years ago

#react-native-slide

version

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

	import Slide from 'react-native-slide'
	
	<Slide
		height={160}
		autoPlay={5000}
		showPagination={true}
		paginationStyle={{
			backgroundColor: 'red'
		}}
		paginationWrapStyle={{
			
		}}
		activePaginationStyle={{
			backgroundColor: 'blue'
		}}>
		{your slide items}
	</Slide>
0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago