@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
16 lines (15 loc) • 536 B
TypeScript
import { CurrencyISO } from '../../constants/currencies';
import { Props as NumberFieldProps } from '../Number';
import { PathStrict } from '../../types';
export type Props = NumberFieldProps & {
/**
* Will change the currency.
* You can also set a path as the value, e.g. `/myCurrencyPath`.
*/
currency?: PathStrict | CurrencyISO;
};
declare function Currency(props: Props): import("react/jsx-runtime").JSX.Element;
declare namespace Currency {
var _supportsSpacingProps: boolean;
}
export default Currency;