Created the HomeElement.jsx

This commit is contained in:
Mathias Wagner 2023-05-30 18:15:19 +02:00
parent 91ec9ecd39
commit 85c2e1c125
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -0,0 +1,9 @@
import "./styles.sass";
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
export const HomeElement = ({icon, text}) => (
<div className="home-element">
<FontAwesomeIcon icon={icon} />
<h1>{text}</h1>
</div>
)