UNPKG

@sertec/button

Version:
8 lines (7 loc) 363 B
import { ReactNode, RefObject, Ref } from 'react'; import { ShortcutContextProps } from './types.js'; export declare function ShortcutProvider({ refs, children, }: { refs?: RefObject<HTMLElement>[] | Ref<HTMLElement>[]; children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export declare const useShortcutContext: () => ShortcutContextProps;