From 1e02ce044c706c0d09df761fe517b00d1833b211 Mon Sep 17 00:00:00 2001 From: Jon Date: Wed, 11 Dec 2024 11:58:54 +0930 Subject: [PATCH] feat(component): add documentation icon ref: #18 --- src/components/IconLoader.jsx | 2 ++ src/components/icons/documentation.jsx | 14 ++++++++++++++ src/components/page/Footer.jsx | 1 + 3 files changed, 17 insertions(+) create mode 100644 src/components/icons/documentation.jsx diff --git a/src/components/IconLoader.jsx b/src/components/IconLoader.jsx index 3cb891d7..51509405 100644 --- a/src/components/IconLoader.jsx +++ b/src/components/IconLoader.jsx @@ -50,6 +50,7 @@ import TicketRequest from "./icons/TicketRequest"; import TicketIncident from "./icons/TicketIncident"; import TicketProblem from "./icons/TicketProblem"; import TicketChange from "./icons/TicketChange"; +import Documentation from "./icons/documentation"; const icon_components = { @@ -65,6 +66,7 @@ const icon_components = { device_status_ok: InventoryStatusOkIcon, device_status_unk: InventoryStatusUknIcon, device_status_warn: InventoryStatusWarnIcon, + documentation: Documentation, reply: ReplyIcon, delete: DeleteIcon, device: DeviceIcon, diff --git a/src/components/icons/documentation.jsx b/src/components/icons/documentation.jsx new file mode 100644 index 00000000..6f55b77b --- /dev/null +++ b/src/components/icons/documentation.jsx @@ -0,0 +1,14 @@ +const Documentation = ({ + width = '20px', + height = '20px', + fill = '#FFF' +}) => { + + return ( + + + + ); +} + +export default Documentation \ No newline at end of file diff --git a/src/components/page/Footer.jsx b/src/components/page/Footer.jsx index 1bf1293f..07fc5d93 100644 --- a/src/components/page/Footer.jsx +++ b/src/components/page/Footer.jsx @@ -1,4 +1,5 @@ import { useEffect, useState } from "react"; +import IconLoader from "../IconLoader"; const Footer = ({ api_version_data