@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
26 lines (25 loc) • 852 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.CurrencyProperties = void 0;
var _NumberDocs = require("../Number/NumberDocs.js");
const props = {
..._NumberDocs.NumberProperties
};
delete props.currency;
delete props.currencyDisplay;
const CurrencyProperties = exports.CurrencyProperties = {
currency: {
doc: 'Defines what format to show the currency value in I.e `NOK` or `USD`. You can also set a path as the value, e.g. `/myCurrencyPath`.',
type: 'string',
status: 'optional'
},
currencyDisplay: {
doc: 'Defines the currency display style. When set to `code`, the currency code is rendered before the amount. Defaults to `narrowSymbol`.',
type: ['code', 'symbol', 'narrowSymbol', 'name', 'false'],
status: 'optional'
},
...props
};
//# sourceMappingURL=CurrencyDocs.js.map