Created the ActionCard.jsx
This commit is contained in:
parent
4b1fb1e5e7
commit
1e244047e8
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>
|
||||
);
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user