UNPKG

react-native-wheely-picker

Version:

An all JavaScript, highly customizable wheel picker for react-native.

16 lines (15 loc) 518 B
import React from 'react'; import { StyleProp, Animated, ViewStyle } from 'react-native'; interface ItemProps { style: StyleProp<ViewStyle>; height: number; index: number; currentScrollIndex: Animated.AnimatedAddition; visibleRest: number; rotationFunction: (x: number) => number; opacityFunction: (x: number) => number; scaleFunction: (x: number) => number; children: React.ReactElement | null; } declare const WheelPickerItem: React.FC<ItemProps>; export default WheelPickerItem;