import{_ as e,c as t,o as a,N as o}from"./chunks/framework.0799945b.js";const k=JSON.parse('{"title":"Interface: HotkeyOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/hotkey.HotkeyOptions.md","lastUpdated":null}'),r={name:"api/interfaces/features/hotkey.HotkeyOptions.md"},n=o('
features/hotkey.HotkeyOptions
An object that configures a Hotkey.
• description: Computable
<string
>
The description of this hotkey, to display in the settings.
profectus/src/features/hotkey.tsx:32
• Optional
enabled: Computable
<boolean
>
Whether or not this hotkey is currently enabled.
profectus/src/features/hotkey.tsx:28
• key: string
The key tied to this hotkey
profectus/src/features/hotkey.tsx:30
• onPress: VoidFunction
What to do upon pressing the key.