All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.BoundHotkeysProxyProvider.d.ts Maven / Gradle / Ivy

import { ReactNode } from 'react';
import { Hotkey } from './types';
declare type BoundHotkeysProxyProviderType = {
    addHotkey: (hotkey: Hotkey) => void;
    removeHotkey: (hotkey: Hotkey) => void;
};
export declare const useBoundHotkeysProxy: () => BoundHotkeysProxyProviderType | undefined;
interface Props {
    children: ReactNode;
    addHotkey: (hotkey: Hotkey) => void;
    removeHotkey: (hotkey: Hotkey) => void;
}
export default function BoundHotkeysProxyProviderProvider({ addHotkey, removeHotkey, children }: Props): import("react").JSX.Element;
export {};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy