UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

13 lines (12 loc) 517 B
import type { CurrencyISO } from '../../constants/currencies'; import type { FieldNumberProps as NumberFieldProps } from '../Number'; import type { PathStrict } from '../../types'; export type FieldCurrencyProps = NumberFieldProps & { /** * Will change the currency. * You can also set a path as the value, e.g. `/myCurrencyPath`. */ currency?: PathStrict | CurrencyISO; }; declare function Currency(props: FieldCurrencyProps): import("react/jsx-runtime").JSX.Element; export default Currency;