UNPKG

react-tetris2

Version:

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

8 lines 244 B
export type ThemeAudioControls = { isPlaying: boolean; isMuted: boolean; togglePlay: () => void; toggleMute: () => void; }; export declare function useThemeAudio(): ThemeAudioControls; //# sourceMappingURL=useThemeAudio.d.ts.map