UNPKG

@maskito/kit

Version:

The optional framework-agnostic Maskito's package with ready-to-use masks

12 lines 564 B
import type { MaskitoPreprocessor } from '@maskito/core'; /** * It rejects new typed decimal separator if it already exists in text field. * Behaviour is similar to native <input type="number"> (Chrome). * @example 1|23,45 => Press comma (decimal separator) => 1|23,45 (do nothing). */ export declare function createRepeatedDecimalSeparatorPreprocessor({ decimalSeparator, prefix, postfix, }: { decimalSeparator: string; prefix: string; postfix: string; }): MaskitoPreprocessor; //# sourceMappingURL=repeated-decimal-separator-preprocessor.d.ts.map