Generateurv2/frontend/components/room/back.jsx
2022-06-24 13:42:16 +02:00

16 lines
314 B
JavaScript

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>
);
}