16 lines
314 B
React
16 lines
314 B
React
|
import { css } from "@emotion/react";
|
||
|
import Link from "next/link";
|
||
|
import { IoMdArrowBack } from "react-icons/io";
|
||
|
|
||
|
export default function Back({ link }) {
|
||
|
return (
|
||
|
<Link href={link} shallow={true}>
|
||
|
<a>
|
||
|
<IoMdArrowBack
|
||
|
className='back-arrow'
|
||
|
/>
|
||
|
</a>
|
||
|
</Link>
|
||
|
);
|
||
|
}
|