KeyboardShortcut
The KeyboardShortcut component visualizes one or multiple keys to communicate
keyboard shortcuts for certain actions. To specify a shortcut, provide the key
sequence in the
aria-keyshortcuts
format.
KeyboardShortcutProps
extends
, , | Name | Type | Default | Description |
|---|---|---|---|
keys | | The list of keys the component should display, specified in the aria-keyshortcuts format. | |
variant? | | | 'default' | The variant that should be used for styling the keys. |
disabled? | 'false' | Whether the component should be rendered in a disabled state. |