react-use-what-input
Version:
React hook for what-input integration
8 lines (7 loc) • 405 B
TypeScript
/// <reference types="../typings/what-input" />
import whatInput, { WhatInputType } from 'what-input';
declare const whatInputMock: typeof whatInput;
export declare function setCurrentElement(element: HTMLElement | null): void;
export declare function setCurrentInput(input: WhatInputType): void;
export declare function setCurrentIntent(intent: WhatInputType): void;
export default whatInputMock;