Move KeyboardShortcut
styling into a separate file (#8067)
This commit is contained in:
parent
22712d3091
commit
8418b4fd71
6 changed files with 53 additions and 24 deletions
|
@ -58,7 +58,7 @@ export const KeyboardShortcut: React.FC<IKeyboardShortcutProps> = ({ value }) =>
|
|||
modifiersElement.push(<KeyboardKey key="shiftKey" name={Key.SHIFT} />);
|
||||
}
|
||||
|
||||
return <div>
|
||||
return <div className="mx_KeyboardShortcut">
|
||||
{ modifiersElement }
|
||||
<KeyboardKey name={value.key} last />
|
||||
</div>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue