UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

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