From 1e244047e846340cc8dfbe7308c0a463ea2f451e Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Fri, 9 Jun 2023 00:02:58 +0200 Subject: [PATCH] Created the ActionCard.jsx --- .../pages/Home/components/ActionCard/ActionCard.jsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 webui/src/pages/Home/components/ActionCard/ActionCard.jsx diff --git a/webui/src/pages/Home/components/ActionCard/ActionCard.jsx b/webui/src/pages/Home/components/ActionCard/ActionCard.jsx new file mode 100644 index 0000000..6518dd8 --- /dev/null +++ b/webui/src/pages/Home/components/ActionCard/ActionCard.jsx @@ -0,0 +1,11 @@ +import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"; +import "./styles.sass"; + +export const ActionCard = ({ title, icon, onClick }) => { + return ( +
+ +

{title}

+
+ ); +} \ No newline at end of file