@duffel/components
Version:
Component library to build your travel product with Duffel.
12 lines (11 loc) • 516 B
TypeScript
/// <reference types="@duffel/api" />
import { OfferSliceSegment } from "@duffel/api/types";
import React from "react";
export interface SeatSelectionModalHeaderProps {
segmentAndPassengerPermutationsCount: number;
currentSegment: OfferSliceSegment;
currentPassengerName: string;
currentSegmentAndPassengerPermutationsIndex: number;
setCurrentSegmentAndPassengerPermutationsIndex: (index: number) => void;
}
export declare const SeatSelectionModalHeader: React.FC<SeatSelectionModalHeaderProps>;