react-native-animated-pagination-dots
Version:
FlatList animated pagination dots
14 lines (13 loc) • 538 B
TypeScript
import { Animated, ViewStyle } from 'react-native';
export interface ExpandingDotProps {
data: Array<Object>;
scrollX: Animated.Value;
containerStyle: ViewStyle;
dotStyle: ViewStyle;
inActiveDotOpacity?: number;
inActiveDotColor?: string;
expandingDotWidth?: number;
activeDotColor?: string;
}
declare const ExpandingDot: ({ scrollX, data, dotStyle, containerStyle, inActiveDotOpacity, inActiveDotColor, expandingDotWidth, activeDotColor, }: ExpandingDotProps) => JSX.Element;
export default ExpandingDot;