Skip to content

Instantly share code, notes, and snippets.

View vaish567's full-sized avatar
🏠
Working from home

Vaishnav vaish567

🏠
Working from home
View GitHub Profile
@vaish567
vaish567 / Login.js
Last active July 30, 2024 10:20
Login Page / Material-UI
import React from 'react'
import { Grid,Paper, Avatar, TextField, Button, Typography,Link } from '@material-ui/core'
import LockOutlinedIcon from '@material-ui/icons/LockOutlined';
import FormControlLabel from '@material-ui/core/FormControlLabel';
import Checkbox from '@material-ui/core/Checkbox';
const Login=()=>{
const paperStyle={padding :20,height:'70vh',width:280, margin:"20px auto"}
const avatarStyle={backgroundColor:'#1bbd7e'}
const btnstyle={margin:'8px 0'}
@vaish567
vaish567 / App.css
Last active August 27, 2021 10:14
React- Basic Hooks - Form implementation
// import React from 'react';
// export default function Blog(props) {
// const posts = [
// {id: 1, title: '...??', content: 'press!'},
// {id: 2, title: '>>>>', content: 'FFFEE!'}
// ];
// const sidebar = (
@vaish567
vaish567 / App.js
Last active August 19, 2021 06:39
Closure in React Hooks
import "./styles.css";
export default function App() {
return (
<div className="App">
<h1>Hello</h1>
<h2>Start editing to see some magic happen!</h2>
</div>
);
}