From 6ec259a0e71174651bae95d4628138bf6fd68742 Mon Sep 17 00:00:00 2001
From: kj_sh604
Date: Sun, 15 Mar 2026 16:19:35 -0400
Subject: refactor: packages/

---
 packages/excalidraw/components/HelpButton.tsx | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 packages/excalidraw/components/HelpButton.tsx

(limited to 'packages/excalidraw/components/HelpButton.tsx')

diff --git a/packages/excalidraw/components/HelpButton.tsx b/packages/excalidraw/components/HelpButton.tsx
new file mode 100644
index 0000000..ce38724
--- /dev/null
+++ b/packages/excalidraw/components/HelpButton.tsx
@@ -0,0 +1,20 @@
+import { t } from "../i18n";
+import { HelpIcon } from "./icons";
+
+type HelpButtonProps = {
+  name?: string;
+  id?: string;
+  onClick?(): void;
+};
+
+export const HelpButton = (props: HelpButtonProps) => (
+  <button
+    className="help-icon"
+    onClick={props.onClick}
+    type="button"
+    title={`${t("helpDialog.title")} — ?`}
+    aria-label={t("helpDialog.title")}
+  >
+    {HelpIcon}
+  </button>
+);
-- 
cgit v1.2.3

