Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/PBSCDateTimePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const PBSCDateTimePicker = (props) => {
helperTextStyle,
hasHelperTextIcon = false,
helperTextCustomIcon, // any svg icon component to show before helper text or error text goes here
pickerTheme = 'light', // 'light' or 'dark'
} = props;

const [selectingDate, setSelectingDate] = useState(value ? value : undefined);
Expand Down Expand Up @@ -176,6 +177,7 @@ const PBSCDateTimePicker = (props) => {
is24hourSource={is24hour}
date={selectingDate ? selectingDate : new Date()}
onDateChange={handleDateChange}
theme={pickerTheme}
/>
<View style={styles.modalDatePickerView}>
<ModalButton
Expand Down