@vidit-me/react-native-wheely
Version:
An all JavaScript, highly customizable wheel picker for react-native.
17 lines (16 loc) • 556 B
TypeScript
import React from 'react';
import { StyleProp, TextStyle, Animated, ViewStyle } from 'react-native';
interface ItemProps {
textStyle: StyleProp<TextStyle>;
style: StyleProp<ViewStyle>;
option: string | null;
height: number;
index: number;
currentScrollIndex: Animated.AnimatedAddition;
visibleRest: number;
rotationFunction: (x: number) => number;
opacityFunction: (x: number) => number;
scaleFunction: (x: number) => number;
}
declare const _default: React.NamedExoticComponent<ItemProps>;
export default _default;