UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

13 lines (12 loc) 582 B
/// <reference types="@duffel/api" /> import { CreateOrder, CreateOrderService, Offer } from "@duffel/api/types"; import React from "react"; import { WithBaggageServiceInformation } from "src/types"; export interface BaggageSelectionModalProps { isOpen: boolean; offer?: Offer; passengers: CreateOrder["passengers"]; selectedServices: WithBaggageServiceInformation<CreateOrderService>[]; onClose: (selectedServices: WithBaggageServiceInformation<CreateOrderService>[]) => void; } export declare const BaggageSelectionModal: React.FC<BaggageSelectionModalProps>;