log in
This commit is contained in:
parent
bad70d7217
commit
75c463b162
|
@ -1,8 +1,16 @@
|
|||
import React from 'react';
|
||||
import React, { useState } from 'react';
|
||||
import { InputText } from 'primereact/inputtext';
|
||||
|
||||
const LogIn = () => {
|
||||
|
||||
const [email, setEmail] = useState("");
|
||||
const [password, setPassword] = useState("");
|
||||
|
||||
|
||||
const iniciarSesion = () =>{
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
return (
|
||||
|
@ -12,12 +20,12 @@ const LogIn = () => {
|
|||
<h5>Iniciar Sesión</h5>
|
||||
<div className="p-fluid formgrid grid">
|
||||
<div className="field col-12">
|
||||
<label htmlFor="nombre">Correo electrónico</label>
|
||||
<InputText id="nombre" type="text" />
|
||||
<label htmlFor="correo">Correo electrónico</label>
|
||||
<InputText id="correo" type="text" placeholder='Correo electrónico'/>
|
||||
</div>
|
||||
<div className="field col-12 ">
|
||||
<label htmlFor="apellidos">Contraseña</label>
|
||||
<InputText id="apellidos" type="text" />
|
||||
<label htmlFor="contrasenna">Contraseña</label>
|
||||
<InputText id="contrasenna" type="text" placeholder='Contraseña'/>
|
||||
</div>
|
||||
|
||||
{/* <Button label="Registrar" onClick={registrarAdmin}></Button> */}
|
||||
|
@ -28,8 +36,4 @@ const LogIn = () => {
|
|||
)
|
||||
}
|
||||
|
||||
export default LogIn
|
||||
|
||||
/* image 1 */
|
||||
|
||||
|
||||
export default LogIn
|
Loading…
Reference in New Issue