UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

16 lines (15 loc) 673 B
/// <reference types="@duffel/api" /> import { CreateOrder, CreateOrderService, Offer, SeatMap } from "@duffel/api/types"; import React from "react"; import { WithSeatServiceInformation } from "src/types"; type CreateOrderServiceWithInformation = WithSeatServiceInformation<CreateOrderService>; export interface SeatSelectionModalProps { isOpen: boolean; offer?: Offer; seatMaps?: SeatMap[]; selectedServices: CreateOrderServiceWithInformation[]; passengers: CreateOrder["passengers"]; onClose: (selectedServices: CreateOrderServiceWithInformation[]) => void; } export declare const SeatSelectionModal: React.FC<SeatSelectionModalProps>; export {};