import * as React from 'react'; import { Table } from 'react-bootstrap'; import { Box, Button } from '@mui/material'; export function Resume(props) { let {handleBack, password: key } = props const fmt = React.useRef({ weekday: 'long', year: 'numeric', month: 'short', day: 'numeric' }) return(
{key.pwd}
{"Candidato"} {key.nombres + " " + key.apellidos} - {key.mail}
{"Puesto"} {key.puesto[0].nombrepuesto}
{"Empresa"} {key.nombreEmpresa}
{"Fecha Activación"} {new Date( key.dateToActived ).toLocaleDateString('es-GT',fmt.current )}
{"Fecha de Vencimiento"} {new Date( key.deadpwd ).toLocaleDateString('es-GT',fmt.current )}
) }