@trussworks/react-uswds
Version:
React USWDS 3 component library
9 lines (8 loc) • 412 B
TypeScript
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;