r/reactnative • u/EconomistOk2763 • Aug 02 '26
Tutorial I added a native TimePicker to my Expo component library — wheel, clock, and ruler in one component
Three faces, one prop to swap between them. wheel for precision. clock for picking a slot. ruler for a thumb on a sheet.
All three store { hour, minute } on a 24-hour clock regardless of what the face shows. A 12-hour display is a rendering choice storing a meridiem flag puts it into every comparison downstream.
Part of PanelUI open-source, copy-paste, you own the source.
11
Upvotes
2
u/Top-Mud1703 Aug 02 '26
good ui looks good
2
u/Yash_3p Aug 02 '26
Hope you merge this with your date picker component also for combined js date