UNPKG

@canutin/svelte-currency-input

Version:

A fully-featured currency input component for Svelte 5 that handles formatting, localization, and validation

4 lines (3 loc) 425 B
export { default as CurrencyInput } from './currency-input.svelte'; export type { IntlConfig, CurrencyInputValues, LocaleConfig, FormatValueOptions, CleanValueOptions } from './types'; export { addSeparators, cleanValue, escapeRegExp, fixedDecimalValue, formatValue, getLocaleConfig, getSuffix, isNumber, padTrimValue, parseAbbrValue, abbrValue, removeInvalidChars, removeSeparators, repositionCursor } from './utils/index';