@duffel/components
Version:
Component library to build your travel product with Duffel.
16 lines (15 loc) • 709 B
TypeScript
/// <reference types="@duffel/api" />
import { CreateOrderService, OfferAvailableServiceBaggage } from "@duffel/api/types";
import React from "react";
import { DuffelAncillariesLocalisationStrings, WithBaggageServiceInformation } from "src/types";
interface BaggageSelectionControllerProps {
segmentId: string;
passengerId: string;
availableService: OfferAvailableServiceBaggage;
selectedServices: WithBaggageServiceInformation<CreateOrderService>[];
quantity: number;
onQuantityChanged: (quantity: number) => void;
localisationStrings?: DuffelAncillariesLocalisationStrings;
}
export declare const BaggageSelectionController: React.FC<BaggageSelectionControllerProps>;
export {};