Created the SocialLink component

This commit is contained in:
Mathias committed 2022-09-12 21:11:11 +02:00
1 parent dda8250635
commit bcc221a1f2
1 file changed
+7
@@ -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;