Skip to content

Commit

Permalink
Add help icon (#855)
Browse files Browse the repository at this point in the history
* add help icon

* add missing export

* one path only

* fix icon size
  • Loading branch information
Cloud11PL authored Sep 19, 2024
1 parent 1faee11 commit 406af8d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/honest-penguins-know.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@saleor/macaw-ui": patch
---

Macaw-ui now exports a new Help icon.
11 changes: 11 additions & 0 deletions src/components/Icons/HelpIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { createSVGWrapper } from "./SVGWrapper";

export const HelpIcon = createSVGWrapper(
<path
d="M4.5965 4.59669L8.8365 8.83669M14.4965 8.83669L18.7365 4.59669M14.4965 14.4967L18.7365 18.7367M8.8365 14.4967L4.5965 18.7367M21.6665 11.6667C21.6665 17.1895 17.1894 21.6667 11.6665 21.6667C6.14366 21.6667 1.6665 17.1895 1.6665 11.6667C1.6665 6.14384 6.14366 1.66669 11.6665 1.66669C17.1894 1.66669 21.6665 6.14384 21.6665 11.6667ZM15.6665 11.6667C15.6665 13.8758 13.8756 15.6667 11.6665 15.6667C9.45736 15.6667 7.6665 13.8758 7.6665 11.6667C7.6665 9.45755 9.45736 7.66669 11.6665 7.66669C13.8756 7.66669 15.6665 9.45755 15.6665 11.6667Z"
stroke="black"
strokeWidth="1.75"
strokeLinecap="round"
strokeLinejoin="round"
/>
);
1 change: 1 addition & 0 deletions src/components/Icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export * from "./FullscreenOffIcon";
export * from "./FullscreenOnIcon";
export * from "./GenericAppIcon";
export * from "./GripIcon";
export * from "./HelpIcon";
export * from "./HomeIcon";
export * from "./InfoIcon";
export * from "./LightModeIcon";
Expand Down

0 comments on commit 406af8d

Please sign in to comment.