ov25-ui
Version:
A UI configurator for OV25 product visualization
9 lines (8 loc) • 587 B
TypeScript
import type { UnifiedPricePayload } from '../../types/inject-config.js';
/** Matches OV25 iframe `Intl` GBP output; used as default and as the substring replaced when overriding display. */
export declare const DEFAULT_CURRENCY_SYMBOL = "\u00A3";
/**
* Re-maps formatted price strings from the iframe (OV25 uses `en-GB` / GBP, typically `£`) to a host-chosen
* display symbol. Numeric fields are unchanged; this is not currency conversion.
*/
export declare function applyDisplayCurrencySymbolToPricePayload(payload: UnifiedPricePayload, displaySymbol: string): UnifiedPricePayload;