Skip to content

Commit e242533

Browse files
committed
Add screenshots to documentation
1 parent 88374b6 commit e242533

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

docs/Menu.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ export const MyMenu = () => (
248248
);
249249
```
250250

251+
![A menu with keyboard shortcuts displayed](./img/menu-shortcuts.png)
252+
251253
This leverages the [react-hotkeys-hook](https://github.com/JohannesKlauss/react-hotkeys-hook) library, checkout [their documentation](https://react-hotkeys-hook.vercel.app/docs/documentation/useHotkeys/basic-usage) for more examples.
252254

253255
### `keyboardShortcutRepresentation`
@@ -268,6 +270,8 @@ const CustomMenu = () => (
268270
);
269271
```
270272

273+
![A menu with keyboard shortcuts displayed](./img/menu-custom-shortcuts.png)
274+
271275

272276
### `leftIcon`
273277

docs/img/menu-custom-shortcuts.png

22.2 KB
Loading

docs/img/menu-shortcuts.png

28.1 KB
Loading

0 commit comments

Comments
 (0)