New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-asap-forms

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-asap-forms

Reuseable Login, Signup Forms

latest
Source
npmnpm
Version
1.4.6
Version published
Maintainers
1
Created
Source

react-asap-forms

Reuseable Login, Signup Forms

NPM JavaScript Style Guide

Install

npm install --save react-asap-forms

Usage

>You have to import this file at the top of app.js

import "react-asap-forms/dist/index.css";
```jsx
import React, { Component } from 'react'

import { LoginForm, SignupForm } from 'react-asap-forms'
import 'react-asap-forms/dist/index.css'

class LoginExample extends Component {
   var data = {
    heading: "",    //optional bydefault it value 'Login'
    loginFormSubmit: formSubmit,
    validationSchema, //validation schema object to validate form
    initialValues  // initial values to populate form fields
  }

  render() {
    return <LoginForm {...data} />
  }
}



class SignUpExample extends Component {
   var data = {
    heading: "",    //optional bydefault it value 'Register'
    signupFormSubmit: formSubmit,
    validationSchema, //validation schema object to validate form
    initialValues  // initial values to populate form fields
  }

  render() {
    return <SignupForm {...data} />
  }
}

License

MIT © SaqibJamil7866

FAQs

Package last updated on 15 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts