Skip to content

Commit

Permalink
feat(component): Add Icon help
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-nfc committed Oct 10, 2024
1 parent 59bc783 commit 9b2b4f4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/IconLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import StatusTestingIcon from "./icons/ticket/StatusTestingIcon";
import RelatedTicketRelated from "./icons/ticket/RelatedTicketRelated";
import RelatedTicketBlocks from "./icons/ticket/RelatedTicketBlocks";
import RelatedTicketBlocked from "./icons/ticket/RelatedTicketBlocked";
import HelpIcon from "./icons/HelpIcon";
import DeleteIcon from "./icons/DeleteIcon";


Expand All @@ -49,6 +50,7 @@ const icon_components = {
delete: DeleteIcon,
device: DeviceIcon,
edit: EditIcon,
help: HelpIcon,
itam: ItamIcon,
link: LinkIcon,
menu: MenuIcon,
Expand Down
14 changes: 14 additions & 0 deletions src/components/icons/HelpIcon.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const HelpIcon = ({
width = '20px',
height = '20px',
fill = '#FFF',
class_name = null
}) => {
return (
<svg className={class_name} xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" width={ width } height={ height } fill={ fill }>
<path d="M478-240q21 0 35.5-14.5T528-290q0-21-14.5-35.5T478-340q-21 0-35.5 14.5T428-290q0 21 14.5 35.5T478-240Zm-36-154h74q0-33 7.5-52t42.5-52q26-26 41-49.5t15-56.5q0-56-41-86t-97-30q-57 0-92.5 30T342-618l66 26q5-18 22.5-39t53.5-21q32 0 48 17.5t16 38.5q0 20-12 37.5T506-526q-44 39-54 59t-10 73Zm38 314q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/>
</svg>
);
}

export default HelpIcon;

0 comments on commit 9b2b4f4

Please sign in to comment.