Created the HomeElement.jsx
This commit is contained in:
parent
91ec9ecd39
commit
85c2e1c125
@ -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>
|
||||||
|
)
|
Reference in New Issue
Block a user