2022-03-14 13:25:51 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`KeyboardShortcut doesn't render + if last 1`] = `
|
2022-10-13 13:32:45 +00:00
|
|
|
<div>
|
2022-03-14 13:25:51 +00:00
|
|
|
<kbd>
|
|
|
|
|
|
|
|
a
|
|
|
|
|
|
|
|
</kbd>
|
2022-10-13 13:32:45 +00:00
|
|
|
</div>
|
2022-03-14 13:25:51 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`KeyboardShortcut doesn't render same modifier twice 1`] = `
|
2022-10-13 13:32:45 +00:00
|
|
|
<div>
|
2022-03-21 11:41:32 +00:00
|
|
|
<div
|
2022-10-13 13:32:45 +00:00
|
|
|
class="mx_KeyboardShortcut"
|
2022-03-21 11:41:32 +00:00
|
|
|
>
|
2022-10-13 13:32:45 +00:00
|
|
|
<kbd>
|
|
|
|
|
|
|
|
Ctrl
|
|
|
|
|
|
|
|
</kbd>
|
|
|
|
+
|
|
|
|
<kbd>
|
|
|
|
|
|
|
|
a
|
|
|
|
|
|
|
|
</kbd>
|
2022-03-14 13:25:51 +00:00
|
|
|
</div>
|
2022-10-13 13:32:45 +00:00
|
|
|
</div>
|
2022-03-14 13:25:51 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`KeyboardShortcut doesn't render same modifier twice 2`] = `
|
2022-10-13 13:32:45 +00:00
|
|
|
<div>
|
2022-03-21 11:41:32 +00:00
|
|
|
<div
|
2022-10-13 13:32:45 +00:00
|
|
|
class="mx_KeyboardShortcut"
|
2022-03-21 11:41:32 +00:00
|
|
|
>
|
2022-10-13 13:32:45 +00:00
|
|
|
<kbd>
|
|
|
|
|
|
|
|
Ctrl
|
|
|
|
|
|
|
|
</kbd>
|
|
|
|
+
|
|
|
|
<kbd>
|
|
|
|
|
|
|
|
a
|
|
|
|
|
|
|
|
</kbd>
|
2022-03-14 13:25:51 +00:00
|
|
|
</div>
|
2022-10-13 13:32:45 +00:00
|
|
|
</div>
|
2022-03-14 13:25:51 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`KeyboardShortcut renders alternative key name 1`] = `
|
2022-10-13 13:32:45 +00:00
|
|
|
<div>
|
2022-03-14 13:25:51 +00:00
|
|
|
<kbd>
|
|
|
|
|
2022-05-16 12:28:24 +00:00
|
|
|
Page Down
|
2022-03-14 13:25:51 +00:00
|
|
|
|
|
|
|
</kbd>
|
|
|
|
+
|
2022-10-13 13:32:45 +00:00
|
|
|
</div>
|
2022-03-14 13:25:51 +00:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`KeyboardShortcut renders key icon 1`] = `
|
2022-10-13 13:32:45 +00:00
|
|
|
<div>
|
2022-03-14 13:25:51 +00:00
|
|
|
<kbd>
|
|
|
|
|
|
|
|
↓
|
|
|
|
|
|
|
|
</kbd>
|
|
|
|
+
|
2022-10-13 13:32:45 +00:00
|
|
|
</div>
|
2022-03-14 13:25:51 +00:00
|
|
|
`;
|