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