1.0.5 • Published 5 years ago

loginctrl v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

loginCtrl

Travis npm package Coveralls

A reusable Login Control using React, Bootstrap, and Material-ui

Usage:

(1) Install Material-UI: npm install @material-ui/core

(2) Code Sample:

//Required npm import.
import { LoginCtrl } from 'loginctrl/es/loginCtrl'

//Validation functions
validate() {//Login Validation Code return true | false; }
validateAction() { //Action to take on validate return true  };
 
//HTML to include control in page:
<LoginCtrl validate={this.validate.bind(this)} validateAction={this.validateAction.bind(this)} alertMessage={"Your Custom Message goes here!"} />
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago