import { Link } from "react-router-dom";
import styles from "./editBtn.module.scss";

const EditBtn = ({ pathname }) => {
    return (
        <Link className={`btn btn-crimson position-absolute ${styles.editBtn}`} to={"/" + pathname}>
            <i className="bi bi-plus-circle"></i>
        </Link>
    )
}

export default EditBtn