Skip to content

allyfx/input-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🦊 Input Validator

Input that validates if it's content it's ok or invalid.

πŸ’‘ What is it?

It's an Input component that validates for you it's content. There are four types of validation: CPF, CNPJ, EMAIL and REQUIRED. Each one of them do an specific thing, and all of them can be required. If there's an error it'll display an bellow above the Input with a message. More informations in the documentation file.

πŸ–₯ Try it

  • Clone the repository
  • Run npm install to install dependencies
  • Run npm run dev to run the project

Or

❓ How do I add to my project?

If you want to use it in your application, you can clone the repository or download it as a zip file, then you grab the component folder and the utils files. Don't forget to fix the imports!

🚧 Built With

  • ReactJS
  • TypeScript
  • Styled Components

About

Input that validates if it's content it's ok or invalid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published