[FEATURE] Add shortcuts to the bar
Closed this issue · 0 comments
haaarshsingh commented
Description
Add a built in way to handle shortcuts with the bar. In several bars, there are single-key shortcuts that users can press to use certain commands.
Currently, there's only the useShortcut
hooks which developers can use to manually add commands, which isn't ALWAYS practical.
Suggested Fix
Add a field to the Command
type called shortcuts
of type Array<string>
, and inside of it type shortcuts for the function which the user can use for the application.