@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
16 lines (15 loc) • 561 B
TypeScript
export default function createNumberMask({ prefix, suffix, includeThousandsSeparator, thousandsSeparatorSymbol, allowDecimal, decimalSymbol, decimalLimit, integerLimit, requireDecimal, allowNegative, }?: {
prefix?: string;
suffix?: string;
includeThousandsSeparator?: boolean;
thousandsSeparatorSymbol?: string;
allowDecimal?: boolean;
decimalSymbol?: string;
decimalLimit?: number;
integerLimit?: boolean;
requireDecimal?: boolean;
allowNegative?: boolean;
}): {
(rawValue?: string): any;
instanceOf: string;
};