CloseModalHotkeyPlugin
Core export:
import { CloseModalHotkeyPlugin } from "@artisansdk/workbench"
Behavior:
- registers a hotkey that calls
workbench.closeModal() - defaults to
Escape - can be disabled by passing
hotkey: null
workbench.use(new CloseModalHotkeyPlugin())