import { useKeybinding } from "./useKeybinding.js";
import { formatShortcut } from "./shortcutFormat.js";
export function useShortcutDisplay(action, context, fallback) {
    return useKeybinding(action, context) ?? formatShortcut(fallback);
}
