react-native-advanced-input-mask
Version:
Text input mask for React Native on iOS, Android and web. Synchronous and easy formatting without hustle
14 lines • 624 B
TypeScript
import Mask from "./Mask";
import type CaretStringIterator from "./CaretStringIterator";
import type { Notation } from "../../types";
import type CaretString from "../model/CaretString";
import type { MaskResult } from "../model/types";
export default class RTLMask extends Mask {
private static rtlCache;
constructor(format: string, customNotations: Notation[]);
static getOrCreate(format: string, customNotations: Notation[]): RTLMask;
apply(text: CaretString): MaskResult;
makeIterator(text: CaretString): CaretStringIterator;
private static reversedFormat;
}
//# sourceMappingURL=RTLMask.d.ts.map