@duffel/components
Version:
Component library to build your travel product with Duffel.
15 lines (14 loc) • 542 B
TypeScript
/// <reference types="@duffel/api" />
import { IconName } from "@components/shared/Icon";
import { OfferSlice, SeatType } from "@duffel/api/types";
export declare const NGS_SHELVES: readonly [1, 2, 3, 4, 5];
export type NGSShelf = OfferSlice["ngs_shelf"];
type ShelfInfo = {
short_title: string;
full_title: string;
description: string;
icon: IconName;
};
export declare const NGS_SHELF_INFO: Record<NonNullable<OfferSlice["ngs_shelf"]>, ShelfInfo>;
export declare const SEAT_ICONS_MAP: Record<SeatType, IconName>;
export {};