Created
July 5, 2019 03:36
-
-
Save arminyahya/67bc57b04db5598a26b9abcd38d2d2fc to your computer and use it in GitHub Desktop.
loginformstate first look
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 { FormState, FieldState } from 'formstate'; | |
export default class LoginFormState { | |
username = new FieldState(''); | |
password = new FieldState(''); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment