Shopvento UI - v0.2.0
    Preparing search index...

    Function DateTimePicker

    • Select an eligible timewindow, respecting capacity, deadlines and the 24-hour lead time.

      Parameters

      • __namedParameters: {
            locations?: ShopFranchiseLocationResponse[];
            now?: number;
            onChange: (value: string) => void;
            seats: number;
            value: string;
            windows: Timewindow[];
        }
        • Optionallocations?: ShopFranchiseLocationResponse[]

          Public installation locations.

          []
          
        • Optionalnow?: number

          Current instant as milliseconds since the Unix epoch. Defaults to Date.now().

          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