Keyboard
Display keyboard input that triggers an action.
The Keyboard
can only display layout styles, if you need to bind the keyboard events, please read subsection useKeyboard.
General
f
Code Editor
Code Editor
modifiers
⌘⇧⌥⌃
Code Editor
Code Editor
combination
⌘f⇧e⌥⌃b
Code Editor
Code Editor
APIs
Keyboard.Props
Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
command | show command key | boolean | - | false |
shift | show shift key | boolean | - | false |
option | show option key | boolean | - | false |
ctrl | show ctrl key | boolean | - | false |
... | native props | KeygenHTMLAttributes | 'keyType', 'className', ... | - |
Contributors
Geist is an open source project from the community.
And is powered by Netlify.