@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
9 lines (8 loc) • 530 B
TypeScript
export declare const isKeyEnterPressed: (key: string) => boolean;
export declare const isKeySpacePressed: (key: string) => boolean;
export declare const isArrowLeftPressed: (key: string) => boolean;
export declare const isArrowRightPressed: (key: string) => boolean;
export declare const isArrowDownPressed: (key: string) => boolean;
export declare const isArrowUpPressed: (key: string) => boolean;
export declare const isKeyEscapePressed: (key: string) => boolean;
export declare const isKeyTabPressed: (key: string) => boolean;