Signup Login Module for react-native
This module is helpful to create the login and signup page with al the validations, this module make the app deisgn in simple way without writing validations in project, all the required validation are done in the module.
No need to TextInput onChange events when using this module.
Pre-requisites
react-native, node.js and a platform-specific tools needed to compile native NPM module (which you may already have);
when you creating react-native init projectName.
### Installation
To install the react-native-loginmodule, simply run the following command within your app's directory:
npm i react-native-loginmodule --save
### Development
##Example:
import {UserName, EMail, Password, CustomButton, ButtonAction} from 'react-native-loginmodule';import React, {Component} from 'react';import {Container, Content, Form} from 'native-base';
export default class Sample extends Component
To handle Logout
})
Fields included in this module
Note: use the fields like this only
<EMail /> <FirstName /> <LastName /> <Password /> <PhoneNumber /> <UserName /> <FullName />
To apply your custom styles
<EMail style={{width:200,height:60....}}/>
### Button used for login and signup
<CustomButton />