UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

13 lines (12 loc) 643 B
import type { NumberFormatAllProps, NumberFormatProps } from './NumberFormatBase'; export type NumberFormatCurrencyProps = Omit<NumberFormatAllProps, 'compact'> & { /** Currency code (ISO 4217) or `true` to use the default `NOK`. Defaults to `true`. */ currency?: NumberFormatProps['currency']; /** Compact display: `short` (e.g., 1.2K kr), `long` (e.g., 1.2 thousand kroner) or `true` for short. */ compact?: NumberFormatProps['compact']; }; declare const NumberFormatCurrency: { (props: NumberFormatCurrencyProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; export default NumberFormatCurrency;