UNPKG

react-native-timer-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 🍏

16 lines (15 loc) 505 B
import type { ComponentProps } from "react"; import type { ViewStyle } from "react-native"; import type { Modal as ReactNativeModal } from "react-native"; export interface ModalProps { animationDuration?: number; children?: React.ReactElement; contentStyle?: ViewStyle; isVisible?: boolean; modalProps?: ComponentProps<typeof ReactNativeModal>; onHide?: () => void; onOverlayPress?: () => void; overlayOpacity?: number; overlayStyle?: ViewStyle; testID?: string; }