Function DateTimePicker
-
DateTimePicker(
__namedParameters: {
locations?: ShopFranchiseLocationResponse[];
now?: number;
onChange: (value: string) => void;
seats: number;
value: string;
windows: Timewindow[];
},
): ElementParameters
- __namedParameters: {
locations?: ShopFranchiseLocationResponse[];
now?: number;
onChange: (value: string) => void;
seats: number;
value: string;
windows: Timewindow[];
}-
Optionallocations?: ShopFranchiseLocationResponse[]Public installation locations.
-
Optionalnow?: numberCurrent instant as milliseconds since the Unix epoch. Defaults to Date.now().
-
onChange: (value: string) => void
Receive the updated controlled value.
-
seats: number
Booked places, or requested seat count depending on the signature.
-
value: string
Current controlled value.
-
windows: Timewindow[]
Dated availability returned by the API.
-
Returns Element
- __namedParameters: {
Select an eligible timewindow, respecting capacity, deadlines and the 24-hour lead time.