-
-
Save LukeSmetham/41c8fb11f17d96a12b09d33a4944e671 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
import * as Yup from 'yup'; | |
export default Yup.object().shape({ | |
username: Yup.string('Must be a valid string.').required('This field is required.'), | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment