UNPKG

@tanstack/react-hotkeys

Version:

React adapter for TanStack Hotkeys

12 lines • 508 B
import { formatForAria } from "@tanstack/hotkeys"; /** * Formats a hotkey for `aria-keyshortcuts`, without the provider's platform or * the user's keyboard layout. * * @deprecated Use `useFormatForAria()` in components. It returns this * function with the provider's platform and the user's keyboard layout filled * in. Outside a component, keep calling this function and pass `platform` * yourself. */ declare const formatForAria$1: typeof formatForAria; export { formatForAria$1 as formatForAria };