UNPKG

react-tetris2

Version:

Classic Tetris game as a reusable React 18+ component, fully typed with TypeScript and controllable via ref.

6 lines 209 B
/** * Call `callback` once each time Shift is pressed. * Automatically starts/stops the DOM listeners. */ export declare function useShift(callback: () => void): void; //# sourceMappingURL=useShift.d.ts.map