Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@kaos/dashboard / dist / cjs / hooks / useKeydown / useKeydown.d.ts
Size: Mime:
import { voidReturnFunction } from '../index.types';
export default function useKeydown(conditionFunction: (e: KeyboardEvent) => boolean, onKeydown: voidReturnFunction, startingElement?: HTMLElement): (e: Event) => void;
export declare function useMetaKeydown(key: KeyboardEvent['key'], onKeydown: voidReturnFunction, startingElement?: HTMLElement): (e: Event) => void;
export declare function useMetaEnter(onMetaEnter: voidReturnFunction, startingElement?: HTMLElement): (e: Event) => void;