mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
[web] Fix Focus mode shortcut showing Mac control glyph on non-Mac platforms GitOrigin-RevId: d2f9f068ab9a2585813fbb777a6ab4fb41d386a2
10 lines
217 B
TypeScript
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>
|
|
)
|
|
}
|