Created the HomeElement.jsx

This commit is contained in:
2023-05-30 18:15:19 +02:00
parent 91ec9ecd39
commit 85c2e1c125

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