Issie logo Issie

KeyCaps Module

Keys drawn as keys. One place, this early in the build, because everything that tells the user which keys to press draws them the same way: the shortcut list in Info, the dialogs that name a chord, and the help text, which is markdown and so cannot reach any module that knows about the model. The appearance is `keyCap` in extra.css; what is here is the arrangement.

Functions and values

Function or value Description

render parts

Full Usage: render parts

Parameters:
    parts : string list

Returns: ReactElement

One chord drawn as the keys to press: [Ctrl]+[Alt]+[-]. Takes the key names rather than a shortcut, so that a caller showing a platform other than the one it is running on can do so - the shortcut list in Info shows both. Empty means the shortcut has no chord on that platform, which is said in words: an empty row would read as "no key needed".

parts : string list
Returns: ReactElement

Type something to start searching.