Implemented on Click in the HomeTool.jsx
This commit is contained in:
parent
5ea0093eef
commit
8926b13317
@ -1,8 +1,8 @@
|
||||
import "./styles.sass";
|
||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
|
||||
|
||||
export const HomeTool = ({icon, title, description}) => (
|
||||
<div className="home-tool">
|
||||
export const HomeTool = ({icon, title, description, onClick}) => (
|
||||
<div className="home-tool" onClick={onClick}>
|
||||
<FontAwesomeIcon icon={icon} />
|
||||
<h1>{title}</h1>
|
||||
<p>{description}</p>
|
||||
|
Reference in New Issue
Block a user