Files
overleaf-cep/services/web/frontend/js/shared/components/shortcut.tsx
T
Alexandre Bourdin 329eca74c1 Merge pull request #36210 from overleaf/ab-fix-focus-mode-shortcut-linux
[web] Fix Focus mode shortcut showing Mac control glyph on non-Mac platforms

GitOrigin-RevId: d2f9f068ab9a2585813fbb777a6ab4fb41d386a2
2026-09-17 11:56:40 +00:00

10 lines
217 B
TypeScript

export function Shortcut({ keys }: { keys: string[] }) {
return (
<span className="dropdown-shortcut">
{keys.map((key, idx) => (
<span key={`${key}${idx}`}>{key}</span>
))}
</span>
)
}