Rev 7595 | Rev 7808 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from "react";
const Follower = ({ first_name, last_name, email, actions, allowDelete }) => {
return (
<>
<div className="col-4 mb-2">
<div className="card shadow-none text-center h-100">
<div className="card-body p-2 pb-0">
<h6 className="mb-1 mt-3">
<a href={actions.link_profile}>
{`${first_name} ${last_name}`}
</a>
</h6>
<p className="mb-0 small lh-sm">
{email}
</p>
</div>
<div className="card-footer p-2 border-0 d-flex justify-content-center gap-2">
<button
className="btn btn-block btn-primary">
<a href={actions.link_profile} className="text-white">
Ver Perfil
</a>
</button>
{
allowDelete
&&
<button
className="btn btn-block btn-danger"
style={{marginTop: '0'}}
>
Borrar
</button>
}
</div>
</div>
</div>
</>
);
};
export default Follower;