UNPKG

@duffel/components

Version:

Component library to build your travel product with Duffel.

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