import { createContext } from 'react';

/**
 * Context that carries the current shortcut scope name.
 * Used by `ShortcutScope` to propagate scope to child `useShortcut` calls.
 * @type {import('react').Context<string>}
 */
export const ShortcutScopeContext = createContext('global');
