Skip to content

Commit

Permalink
Merge pull request #967 from JohannesKlauss/fix/cmd_description_for_w…
Browse files Browse the repository at this point in the history
…indows

Fix explanation of command key on windows
  • Loading branch information
JohannesKlauss authored Mar 3, 2023
2 parents eccefae + 0ab651e commit 4bc6cca
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions documentation/docs/documentation/useHotkeys/basic-usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ Of course, we also want to leverage more complex keystrokes. `useHotkeys` suppor
* `meta`

:::info macOS and Windows/Linux compatability
Since version 4 `alt` and `option` are identical. The `meta` key is the same as `cmd` on macOS and `ctrl` on Windows/Linux.
:::
Since version 4 `alt` and `option` are identical. The `meta` key is the same as `cmd` on macOS and `os` key on Windows.

```jsx
function ExampleComponent() {
Expand Down

1 comment on commit 4bc6cca

@vercel
Copy link

@vercel vercel bot commented on 4bc6cca Mar 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.