Home > @uniformdev/design-system > ShortcutRevealer

ShortcutRevealer() function

Warning: This API is now obsolete.

Use tooltips or menu items with a shortcut instead, and getFormattedShortcut for display

Signature:

Parameters

ParameterTypeDescription
{ shortcut, macShortcut, className, }{ shortcut: string; macShortcut?: string; className?: SerializedStyles | string; }

Returns:

_emotion_react_jsx_runtime.JSX.Element | null