UNPKG

@kubit-ui-web/react-components

Version:

Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience

19 lines (18 loc) 1.15 kB
import { MASK_TYPE } from '../../components/input/types/input'; export declare const cleanInputValueAlphanumeric: (value: string) => string; export declare const cleanInputValueAlphanumericWithSpaces: (value: string) => string; export declare const cleanInputValueNumber: (value: string) => string; export declare const cleanInputValueNumberWithSpaces: (value: string) => string; export declare const cleanInputValueLetters: (value: string) => string; export declare const cleanInputValueLettersHyphenSpace: (value: string) => string; export declare const cleanInputValueObject: { ALPHANUMERIC: (value: string) => string; ALPHANUMERIC_WITH_SPACES: (value: string) => string; NUMBERS: (value: string) => string; NUMBERS_WITH_SPACES: (value: string) => string; LETTERS: (value: string) => string; LETTERS_HYPHEN_SPACE: (value: string) => string; }; export declare const cleanInputValue: (value: string, maskType?: MASK_TYPE) => string; export declare const matchInputValue: (oldValue: string, value: string, regex: string | RegExp) => string; export declare const formatMask: (unformattedValue: string, mask: string) => string;