Created the SocialLink component

This commit is contained in:
Mathias Wagner 2022-09-12 21:11:11 +02:00
parent dda8250635
commit bcc221a1f2

View File

@ -0,0 +1,7 @@
import './styles.sass';
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
const SocialLink = (props) => (
<a href={props.to} target="_blank"><FontAwesomeIcon icon={props.icon} className="social-icon"/></a>
)
export default SocialLink;