UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

13 lines (12 loc) 679 B
/// <reference types="@duffel/api" /> import React from "react"; import { CreateOrderPassenger, CreateOrderService, Offer, OfferSliceSegment } from "@duffel/api/types"; import { WithBaggageServiceInformation } from "src/types"; export interface BaggageSelectionModalBodyProps { offer: Offer; segment: OfferSliceSegment; passengersById: Record<CreateOrderPassenger["id"], CreateOrderPassenger>; selectedServices: WithBaggageServiceInformation<CreateOrderService>[]; setSelectedServices: (selectedServices: WithBaggageServiceInformation<CreateOrderService>[]) => void; } export declare const BaggageSelectionModalBody: React.FC<BaggageSelectionModalBodyProps>;