UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

15 lines (14 loc) 599 B
/// <reference types="@duffel/api" /> import { CreateOrderService, SeatMapCabinRow } from "@duffel/api/types"; import * as React from "react"; import { WithSeatServiceInformation } from "src/types"; export interface RowProps { row: SeatMapCabinRow; hasWings: boolean; selectedServicesMap: Record<string, WithSeatServiceInformation<CreateOrderService>>; onSeatToggled: (seatService: WithSeatServiceInformation<CreateOrderService>) => void; currentPassengerId: string; currentPassengerName: string; currentSegmentId: string; } export declare const Row: React.FC<RowProps>;