Skip to content

zangeronimo/react-input-mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Input Mask

Simple code for input masks like phone, zipcode, cpf, cnpj, date...

Without Mask

Don't use mask and number tags... For example:

  Input label="Simple Input" name="simpleInput" />

All strings

Use # to construct a alphanumeric mask. For example:

  Input label="Alpha Input" mask='###/###(##)' name="alphaInputName" />

Only Number Mask

Use 9 to construct a onlynumber + number tag. For example:

  Input label="Mobile Input" mask='(99) 99999-9999' name="mobileInput" number />

Author

Licence

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published