UNPKG

@empathyco/x-components

Version:
42 lines (39 loc) 1.07 kB
import { defineComponent } from 'vue'; import BaseCurrency from '../currency/base-currency.vue.js'; /** * Component that renders the {@link @empathyco/x-types#Result} previous price. * * @public */ var _sfc_main = defineComponent({ components: { BaseCurrency }, props: { /** * (Required) The {@link @empathyco/x-types#Result} information. * * @public */ result: { type: Object, required: true, }, /** * Optional value coming from https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes. * * @public */ currency: String, /** * The currency format possibilities from Intl.NumberFormatOptions. * Allows customization of decimal places, grouping, etc. * * @public */ format: { type: Object, default: () => ({}), }, }, }); export { _sfc_main as default }; //# sourceMappingURL=base-result-previous-price.vue2.js.map