@react-input/mask
Version:
React input component for masked input.
7 lines (6 loc) • 351 B
TypeScript
import React from 'react';
import type { MaskOptions } from './types';
import type { InputComponent, InputComponentProps } from '@react-input/core';
export type InputMaskProps<C extends React.ComponentType | undefined = undefined> = MaskOptions & InputComponentProps<C>;
declare const InputMask: InputComponent<MaskOptions>;
export default InputMask;