@sertec/button
Version:
Sfera Button Component
8 lines (7 loc) • 363 B
TypeScript
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;