UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

14 lines (13 loc) 611 B
/// <reference types="@duffel/api" /> import { CreateOrder, CreateOrderService, Offer, SeatMap } from "@duffel/api/types"; import React from "react"; import { WithSeatServiceInformation } from "src/types"; export interface SeatSelectionCardProps { isLoading: boolean; offer?: Offer; seatMaps?: SeatMap[]; passengers: CreateOrder["passengers"]; selectedServices: WithSeatServiceInformation<CreateOrderService>[]; setSelectedServices: (selectedServices: WithSeatServiceInformation<CreateOrderService>[]) => void; } export declare const SeatSelectionCard: React.FC<SeatSelectionCardProps>;