EditBtn.js 334 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
import { Link } from "react-router-dom";
import styles from "./buttons.module.scss";

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

export default EditBtn