@react-bunker/input-mask
Version:
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
21 lines (20 loc) • 553 B
TypeScript
export declare const masks: {
currency: (options?: Intl.NumberFormatOptions & {
locale?: string;
}) => {
set(input: string): string;
clear: (input: string) => string;
};
noSpace: {
set: (input: string) => string;
clear: (input: string) => string;
};
noSpecialCharacter: {
set: (input: string) => string;
clear: (input: string) => string;
};
noSpecialCharacterAndNumbers: {
set: (input: string) => string;
clear: (input: string) => string;
};
};