1.0.4 • Published 1 year ago

react-native-pagination-indicator v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago
  • An animated dots effect of a pagination view.

  • It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.

Example:

npm.io

How to use:

import PaginationIndicator from 'react-native-pagination-indicator';


 const scrollX = useRef(new Animated.Value(0)).current;
 const data = []: any[];

  <PaginationIndicator data={data} scrollX={scrollX} screenWidth={width} />

PaginationIndicator Props

NameTypeDefault
dataany[]
scrollXAnimated.Value
screenWidthnumber
dotWidthOutputRangenumber[]
dotOpacityOutputRangenumber[]
dotStyleViewStyle
containerStyleViewStyle
1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago