Skip to content

Instantly share code, notes, and snippets.

View mdtaju's full-sized avatar

Md Tajuuddin Tareq mdtaju

View GitHub Profile
import React from 'react';
import Demo from './demo';
import { createTheme, ThemeProvider } from '@material-ui/core/styles';
const Theme = createTheme({
palette: {
primary: {
main: '#d2691e',
},
},
import React from 'react';
import TextField from '@material-ui/core/TextField';
export default function Demo() {
return (
<form>
<TextField id="outlined-basic" label="Outlined" variant="outlined" />
import React from 'react';
import TextField from '@material-ui/core/TextField';
import { createTheme, ThemeProvider } from '@material-ui/core/styles';
const Theme = createTheme({
palette: {
primary: {
main: '#d2691e',
},
},
import { useState } from 'react';
import './App.css';
function App() {
const [Name, setName] = useState('')
const [Email, setEmail] = useState('')
const [Password, setPassword] = useState('')
const SubmitHandler = (event) => {
event.preventDefault()