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

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

export default EditBtn