UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

14 lines (13 loc) 595 B
/// <reference types="@duffel/api" /> import { CreateOrderService, SeatMap as SeatMapType } from "@duffel/api/types"; import * as React from "react"; import { WithSeatServiceInformation } from "src/types"; export interface SeatMapProps { seatMap: SeatMapType; selectedServicesMap: Record<string, WithSeatServiceInformation<CreateOrderService>>; onSeatToggled: (seatService: WithSeatServiceInformation<CreateOrderService>) => void; currentPassengerId: string; currentPassengerName: string; currentSegmentId: string; } export declare const SeatMap: React.FC<SeatMapProps>;