Skip to content

Commit 87960ad

Browse files
authored
Fix useMenu example (#2706)
1 parent 7a5e585 commit 87960ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/@react-aria/menu/docs/useMenu.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,17 +426,17 @@ function MenuItem({item, state, onAction}) {
426426
<Item textValue="Copy" key="copy">
427427
<div><strong>Copy</strong></div>
428428
<div>Copy the selected text</div>
429-
<Keyboard>⌘C</Keyboard>
429+
<kbd>⌘C</kbd>
430430
</Item>
431431
<Item textValue="Cut" key="cut">
432432
<div><strong>Cut</strong></div>
433433
<div>Cut the selected text</div>
434-
<Keyboard>⌘X</Keyboard>
434+
<kbd>⌘X</kbd>
435435
</Item>
436436
<Item textValue="Paste" key="paste">
437437
<div><strong>Paste</strong></div>
438438
<div>Paste the copied text</div>
439-
<Keyboard>⌘V</Keyboard>
439+
<kbd>⌘V</kbd>
440440
</Item>
441441
</Menu>
442442
```

0 commit comments

Comments
 (0)