feat(ui): add momentary keyboard control surface
This commit is contained in:
@@ -12,6 +12,7 @@ import {
|
||||
ApplicationShell,
|
||||
ApplicationSidePanel,
|
||||
Button,
|
||||
KeyButton,
|
||||
Checker,
|
||||
ColorField,
|
||||
ConfirmationModal,
|
||||
@@ -1410,6 +1411,9 @@ export function CatalogApp() {
|
||||
<Button variant="ghost" icon={<Icon name="external" />}>Открыть</Button>
|
||||
<Button variant="danger" icon={<Icon name="trash" />}>Удалить</Button>
|
||||
<IconButton label="Добавить"><Icon name="plus" /></IconButton>
|
||||
<KeyButton label="Клавиша W">W</KeyButton>
|
||||
<KeyButton label="Клавиша A нажата" pressed>A</KeyButton>
|
||||
<KeyButton label="Клавиша S недоступна" disabled>S</KeyButton>
|
||||
</div>
|
||||
</Preview>
|
||||
<Preview title="Активность" note="default / compact" className="catalog-preview--compact">
|
||||
|
||||
Reference in New Issue
Block a user