formik-login-form v0.8.0
Getting Started with Create React App
This project was bootstrapped with Create React App.
Usage
I have created a Login form with responsive and also added formik validation in my form. In the Login form i added two fields email and password Through the login form you can directly install the package and use the validate form in your project.
Setup the project
npx create-react-app my-app --template typescript
Installation
npm i formik-login-form
Available Scripts
In the Project directry you can run
npm start
Runs the app in the development mode.\ Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.\ You will also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode.\ See the section about running tests for more information.
npm run build
Builds the app for production to the build
folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about deployment for more information.
Example
`import React from "react"; import { LoginForm } from 'formik-login';
function App() {
const getdata = (name) => {
}; return (
<div>
<LoginForm data={getdata}/>
</div>
); }
export default App; `