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
modifiers
combination
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