Interface: DeliveryDateProps
Defined in: components/DeliveryDate.tsx:15
Properties
cart
cart:
Cart
Defined in: components/DeliveryDate.tsx:17
The cart to use for the delivery date
containerClass?
optionalcontainerClass?:string
Defined in: components/DeliveryDate.tsx:38
The CSS class for the container
formatDateDisplay?
optionalformatDateDisplay?: (date) =>string
Defined in: components/DeliveryDate.tsx:32
Custom date display formatting function
Parameters
date
string
Returns
string
initialDate?
optionalinitialDate?:string
Defined in: components/DeliveryDate.tsx:41
Pre-selected date from cart (e.g. cart.postageData.requestDate: "2026-04-17T00:00:00.000Z")
labels?
optionallabels?:Record<string,string>
Defined in: components/DeliveryDate.tsx:35
Labels for the component
language?
optionallanguage?:string
Defined in: components/DeliveryDate.tsx:50
Active language/locale (e.g. 'NL'). Sets the lang attribute on the
native <input type="date"> so the browser renders its calendar chrome
(month name, weekday headers, Today/Clear) in that locale. Resolved from
<PropellerProvider> when omitted. The quick-pick tile text is localized
separately via labels (day_N / month_N keys).
onDateSelect?
optionalonDateSelect?: (date) =>void
Defined in: components/DeliveryDate.tsx:29
Fires when a delivery date is selected, with the ISO date string.
Parameters
date
string
Returns
void
showDatePicker?
optionalshowDatePicker?:boolean
Defined in: components/DeliveryDate.tsx:26
Show an "Other date..." tile that opens a date picker. Defaults to true.
showUpcomingDays?
optionalshowUpcomingDays?:number
Defined in: components/DeliveryDate.tsx:20
Number of upcoming days to offer as quick-pick tiles. Defaults to 3.
skipWeekends?
optionalskipWeekends?:boolean
Defined in: components/DeliveryDate.tsx:23
Skip weekends when building the upcoming-days tiles. Defaults to true.