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

    Function SeatSelector

    • Edit the seat list and assign variants or a voucher to each seat.

      Parameters

      • __namedParameters: {
            directBookingEnabled: boolean;
            maxSeats?: number;
            onChange: (seats: Seat[]) => void;
            seats: Seat[];
            variants: ShopTasting[];
        }
        • directBookingEnabled: boolean

          Whether the installation allows bookings without a voucher for every seat.

        • OptionalmaxSeats?: number

          Maximum number of selectable seats.

          Math.max(20, seats.length)
          
        • onChange: (seats: Seat[]) => void

          Receive the updated controlled value.

        • seats: Seat[]

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

        • variants: ShopTasting[]

          Public event variants with backend prices.

      Returns Element