@utrecht/component-library-react
Version:
React component library bundle for the Municipality of Utrecht based on the NL Design System architecture
15 lines • 690 B
TypeScript
/**
* @license EUPL-1.2
* Copyright (c) 2020-2024 Frameless B.V.
* Copyright (c) 2021-2024 Gemeente Utrecht
*/
import { HTMLAttributes } from 'react';
export interface CurrencyDataProps extends HTMLAttributes<HTMLDataElement> {
currency?: string;
amount: string | number;
locale?: string;
}
export declare const formatLabel: (locale: string, currency: string, amount: number) => string;
export declare const formatVisually: (locale: string, currency: string, amount: number) => string;
export declare const CurrencyData: import("react").ForwardRefExoticComponent<CurrencyDataProps & import("react").RefAttributes<HTMLDataElement>>;
//# sourceMappingURL=CurrencyData.d.ts.map