import type {TextInputProps} from 'react-native'; import type {Mask} from './formatWithMask.types'; export interface MaskInputProps extends Omit { /** * Mask */ mask?: Mask; /** * Whether or not to display the obfuscated value on the `TextInput`. Defaults to false */ showObfuscatedValue?: boolean; /** * Character to be used as the "fill character" on the default placeholder */ placeholderFillCharacter?: string; /** * Character to be used on the obfuscated characteres. Defaults to "*" */ obfuscationCharacter?: string; onChangeText: React.Dispatch>; }