UNPKG

@trussworks/react-uswds

Version:
9 lines (8 loc) 412 B
import { JSX } from 'react'; import { TextInputProps } from '../TextInput/TextInput'; export type TextInputMaskProps = TextInputProps & { mask: string; charset?: string; } & JSX.IntrinsicElements['input']; export declare const TextInputMask: ({ id, className, mask, value: externalValue, defaultValue, charset, onChange, ...inputProps }: TextInputMaskProps) => JSX.Element; export default TextInputMask;