UNPKG

react-native-mask-text

Version:
11 lines (10 loc) 408 B
/// <reference types="react" /> import { TextProps } from 'react-native'; import type { MaskOptions } from '../@types/MaskOptions'; export interface MaskedTextProps { children: string; mask?: string; type?: 'custom' | 'currency'; options?: MaskOptions; } export declare function MaskedText({ children: text, mask: pattern, type, options, ...rest }: MaskedTextProps & TextProps): JSX.Element;