e.stopPropagation()}
+ >
+ {/* Header */}
+
+
+
+ Keyboard Shortcuts
+
+
+ Press ? anytime to toggle this help
+
+
+
+
+
+ {/* Shortcuts list */}
+
+ {Object.entries(groupedShortcuts).map(([category, categoryShortcuts]) => (
+
+
+ {category}
+
+
+ {categoryShortcuts.map((shortcut, index) => (
+
+
+ {shortcut.description}
+
+ {formatShortcutKey(shortcut)}
+
+ ))}
+
+
+ ))}
+
+
+ {/* Footer */}
+
+
+ Press ESC to close
+
+
+