troberts-28 / react-native-timer-picker

A simple, flexible, performant duration picker for React Native apps (Expo & Bare Workflow). Great for timers, alarms and duration inputs. Includes iOS-style haptic and audio feedback.
https://www.npmjs.com/package/react-native-timer-picker
MIT License
142 stars 19 forks source link

default value #25

Closed Raduc4 closed 7 months ago

Raduc4 commented 7 months ago

I'm getting from my backend the same format the onConfirm method returns { hours: number; minutes: number; seconds: number } and I need to put it as a default value in the picker.

Could you please tell me how to do it? I tried to find a prop in the source code but no luck :(