Skip to main content

KeyboardShortcut

Use the KeyboardShortcut to display one or more keys that represent a keyboard shortcut for a specific action.

KeyboardShortcutProps

extends, , , ,
NameTypeDefaultDescription
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.

Still have questions?
Find answers in the Dynatrace Community