generic-forms-react
v1.0.2
Published
React Generic Forms
Downloads
2
Readme
Generic Forms React
A generic react form that provide forms for common use case like login, registration and etc.,
- Used Material-ui core components
- Used Material-ui sigin template
- Used Material-ui dialog
Login Form
Basic Usage
function handleSubmit(user){
if(validate(user))
return true;
return false;
}
<div>
<GenericForms.LoginForm onSubmit={handleSubmit} AlertTitle="GenericForm's Signin Alert" ErrorMessage="
Invalid credentials, wrong username/password..."/>
</div>
Jus a sample custom library. Still development is in progress..