mirror of https://github.com/buster-so/buster.git
7 lines
287 B
TypeScript
7 lines
287 B
TypeScript
import React, { PropsWithChildren, useRef } from 'react';
|
|
import { HotkeysProvider } from 'react-hotkeys-hook';
|
|
|
|
export const AppHotKeysProvider: React.FC<PropsWithChildren> = ({ children }) => {
|
|
return <HotkeysProvider initiallyActiveScopes={['app']}>{children}</HotkeysProvider>;
|
|
};
|