Created the ActionCard.jsx

This commit is contained in:
Mathias Wagner 2023-06-09 00:02:58 +02:00
parent 4b1fb1e5e7
commit 1e244047e8

View File

@ -0,0 +1,11 @@
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome";
import "./styles.sass";
export const ActionCard = ({ title, icon, onClick }) => {
return (
<div className="action-card" onClick={onClick}>
<FontAwesomeIcon icon={icon} />
<h1>{title}</h1>
</div>
);
}