TimePickerModal
TimePickerModal
Full-screen modal time picker built atop TimePicker primitives.
Usage
Create immersive scheduling flows on mobile.
Highlights
- Header summary + actions row
- Portal + Backdrop integration
When to use it
- Time picking is the main focus of the screen.
- Need to combine analog and numeric entry paths.
Examples
Default
Preview (Web)
import { TimePickerModal } from 'react-native-molecules/components/TimePickerModal'; export default function Example() { return <TimePickerModal time="10:15" />; }
| Prop | Type | Default | Description |
|---|---|---|---|
is24Hour | boolean | undefined | — | — |
label | string | undefined | — | — |
uppercase | boolean | undefined | — | — |
cancelLabel | string | undefined | — | — |
confirmLabel | string | undefined | — | — |
time | string | undefined | — | — |
onConfirmRequired | (time: string) => any | — | — |
keyboardIcon | string | undefined | — | — |
clockIcon | string | undefined | — | — |
isLandscape | boolean | undefined | — | — |