Skip to content

The hax-input-mask will help with mask in your inputs Reactjs and Nextjs.

Notifications You must be signed in to change notification settings

hallex-abreu/hax-input-mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

hax-input-mask

The hax-input-mask will help with mask in your inputs Reactjs and Nextjs.

Getting Started

Installation

To use hax-input-mask in your project, run:

npm i hax-input-mask
# or "yarn add hax-input-mask"

Usage

Use within the setValue of input

import { cpfMask } from 'hax-input-mask';

<input type="text" value={cpf} onChange={event => serCpf(cpfMask(event.target.value))}/>

Options parameters

cpfMask ufMask cepMask dataMask telefoneMask dataMask horaMask converte_data_hora converte_data converte_hora converte_data_envio soNumeroMask convert_real

Help us maintain the project: donate.

About

The hax-input-mask will help with mask in your inputs Reactjs and Nextjs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published