This commit is contained in:
Maria Sanchez 2022-08-02 23:01:58 -06:00
parent bad70d7217
commit 75c463b162
1 changed files with 14 additions and 10 deletions

View File

@ -1,8 +1,16 @@
import React from 'react'; import React, { useState } from 'react';
import { InputText } from 'primereact/inputtext'; import { InputText } from 'primereact/inputtext';
const LogIn = () => { const LogIn = () => {
const [email, setEmail] = useState("");
const [password, setPassword] = useState("");
const iniciarSesion = () =>{
}
return ( return (
@ -12,12 +20,12 @@ const LogIn = () => {
<h5>Iniciar Sesión</h5> <h5>Iniciar Sesión</h5>
<div className="p-fluid formgrid grid"> <div className="p-fluid formgrid grid">
<div className="field col-12"> <div className="field col-12">
<label htmlFor="nombre">Correo electrónico</label> <label htmlFor="correo">Correo electrónico</label>
<InputText id="nombre" type="text" /> <InputText id="correo" type="text" placeholder='Correo electrónico'/>
</div> </div>
<div className="field col-12 "> <div className="field col-12 ">
<label htmlFor="apellidos">Contraseña</label> <label htmlFor="contrasenna">Contraseña</label>
<InputText id="apellidos" type="text" /> <InputText id="contrasenna" type="text" placeholder='Contraseña'/>
</div> </div>
{/* <Button label="Registrar" onClick={registrarAdmin}></Button> */} {/* <Button label="Registrar" onClick={registrarAdmin}></Button> */}
@ -29,7 +37,3 @@ const LogIn = () => {
} }
export default LogIn export default LogIn
/* image 1 */