UiCommands
Command-based paradigms for managing keyboard shortcuts and user interactions.
Internal Component
This component is intended solely for use within GitHub and is not available for external use.React
ready
Props
UiCommands
No props documented
CommandIconButton
| Name | Default | Description |
|---|---|---|
commandId Required | string | number | symbol | |
aria-label | IconButtonPropsIf | |
ref | React.Ref<HTMLButtonElement> |
GlobalCommands
| Name | Default | Description |
|---|---|---|
commands Required | CommandEventHandlersMapMap of command IDs to the corresponding event handler. |
ScopedCommands
No props documented
CommandKeybindingHint
| Name | Default | Description |
|---|---|---|
commandId Required | string | number | symbol |