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

    Function DateList

    • Render bookable dates with optional month grouping, event colors and host selection callback.

      Parameters

      • __namedParameters: {
            colors?: EventColors;
            format?: BookingFormat;
            groupMonths?: boolean;
            leadHours?: number;
            locations?: ShopFranchiseLocationResponse[];
            onSelect: (w: Timewindow) => void;
            seats?: number;
            windows: Timewindow[];
        } & EventCollection
        • Optionalcolors?: EventColors

          Optional CSS colors keyed by event identifier.

          {}
          
        • Optionalformat?: BookingFormat

          Optional locale and currency formatting settings.

          {}
          
        • OptionalgroupMonths?: boolean

          Group the date list by calendar month.

          true
          
        • OptionalleadHours?: number

          Minimum Berlin wall-clock lead time in hours. Defaults to 24.

          24
          
        • Optionallocations?: ShopFranchiseLocationResponse[]

          Public installation locations.

          []
          
        • onSelect: (w: Timewindow) => void

          Receive the selected dated timewindow.

        • Optionalseats?: number

          Booked places, or requested seat count depending on the signature.

          1
          
        • windows: Timewindow[]

          Dated availability returned by the API.

      Returns Element