Last active
December 22, 2017 23:28
-
-
Save jmlavoier/4863dad13965793eb9cb316b50208fe6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// formValidations.js | |
export const validateName = value => | |
(value && value[0] === '@') ? true : false; | |
export const validateSexo = value => | |
(value !== '') ? true : false; | |
export const validateAbout = value => | |
(value.length > 50) ? true : false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment