@salient-sys/react-native-infinite-picker
Version:
A simple, flexible, performant duration picker for React Native apps 🔥 Great for timers, alarms and duration inputs ⏰🕰️⏳ Includes iOS-style haptic and audio feedback 🍏
10 lines (9 loc) • 347 B
TypeScript
import type { ItemValue, PickerItem } from "../components/InfinitePicker/types";
export declare const getInitialScrollIndex: (variables: {
disableInfiniteScroll: boolean;
initialValue: ItemValue | undefined;
numberOfItems: number;
padWithNItems: number;
pickerItems: PickerItem[];
repeatValuesNTimes: number;
}) => number;