UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

15 lines (14 loc) 607 B
/// <reference types="@duffel/api" /> import { CreateOrderService, OfferAvailableServiceBaggage } from "@duffel/api/types"; import React from "react"; import { WithBaggageServiceInformation } from "src/types"; interface BaggageSelectionControllerProps { segmentId: string; passengerId: string; availableService: OfferAvailableServiceBaggage; selectedServices: WithBaggageServiceInformation<CreateOrderService>[]; quantity: number; onQuantityChanged: (quantity: number) => void; } export declare const BaggageSelectionController: React.FC<BaggageSelectionControllerProps>; export {};