UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

17 lines (16 loc) 676 B
/// <reference types="@duffel/api" /> import { CreateOrderService, SeatMapCabinRowSectionElement } from "@duffel/api/types"; import * as React from "react"; import { WithSeatServiceInformation } from "src/types"; interface ElementProps { sectionIndex: number; elementIndex: number; element: SeatMapCabinRowSectionElement; selectedServicesMap: Record<string, WithSeatServiceInformation<CreateOrderService>>; onSeatToggled: (seatService: WithSeatServiceInformation<CreateOrderService>) => void; currentPassengerId: string; currentSegmentId: string; currentPassengerName: string; } export declare const Element: React.FC<ElementProps>; export {};