@empathyco/x-components
Version:
Empathy X Components
66 lines • 2.1 kB
TypeScript
import type { Result } from '@empathyco/x-types';
import type { PropType } from 'vue';
/**
* Component that renders the {@link @empathyco/x-types#Result} previous price.
*
* @public
*/
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
/**
* (Required) The {@link @empathyco/x-types#Result} information.
*
* @public
*/
result: {
type: PropType<Result>;
required: true;
};
/**
* Optional value coming from https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes.
*
* @public
*/
currency: StringConstructor;
/**
* The currency format possibilities from Intl.NumberFormatOptions.
* Allows customization of decimal places, grouping, etc.
*
* @public
*/
format: {
type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
default: () => {};
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
/**
* (Required) The {@link @empathyco/x-types#Result} information.
*
* @public
*/
result: {
type: PropType<Result>;
required: true;
};
/**
* Optional value coming from https://en.wikipedia.org/wiki/ISO_4217#List_of_ISO_4217_currency_codes.
*
* @public
*/
currency: StringConstructor;
/**
* The currency format possibilities from Intl.NumberFormatOptions.
* Allows customization of decimal places, grouping, etc.
*
* @public
*/
format: {
type: PropType<Omit<Intl.NumberFormatOptions, "currency" | "style">>;
default: () => {};
};
}>> & Readonly<{}>, {
format: Omit<Intl.NumberFormatOptions, "currency" | "style">;
}, {}, {
BaseCurrency: import("vue").DefineComponent<{}, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
//# sourceMappingURL=base-result-previous-price.vue?vue&type=script&lang.d.ts.map