UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

19 lines (18 loc) 741 B
/// <reference types="@duffel/api" /> import { CreateOrderService, SeatMapCabinRow, SeatMapCabinRowSection } from "@duffel/api/types"; import * as React from "react"; import { WithSeatServiceInformation } from "src/types"; interface RowSectionProps { row: SeatMapCabinRow; rowNumber: string | null; hasWings: boolean; section: SeatMapCabinRowSection; sectionIndex: number; selectedServicesMap: Record<string, WithSeatServiceInformation<CreateOrderService>>; onSeatToggled: (seatService: WithSeatServiceInformation<CreateOrderService>) => void; currentPassengerId: string; currentPassengerName: string; currentSegmentId: string; } export declare const RowSection: React.FC<RowSectionProps>; export {};