Created the ActionCard.jsx
This commit is contained in:
11
webui/src/pages/Home/components/ActionCard/ActionCard.jsx
Normal file
11
webui/src/pages/Home/components/ActionCard/ActionCard.jsx
Normal 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>
|
||||||
|
);
|
||||||
|
}
|
Reference in New Issue
Block a user