import styled from "@emotion/styled";
import { Link as RouterLink } from "react-router-dom";

const Link = styled(RouterLink)(({ theme }) => {
  return {
    color: theme.palette.link.main,
    "&:hover": {
      color: theme.palette.link.hover,
    },
  };
});

export default Link;
