@bitcobblers/wod-wiki-library
Version:
A specialized markdown-like workout syntax editor and runtime for defining workouts
13 lines (12 loc) • 411 B
TypeScript
import { default as React, ReactNode } from 'react';
interface SoundContextType {
soundEnabled: boolean;
toggleSound: () => void;
playSound: (soundType: 'start' | 'complete' | 'countdown' | 'tick') => void;
}
interface SoundProviderProps {
children: ReactNode;
}
export declare const SoundProvider: React.FC<SoundProviderProps>;
export declare const useSound: () => SoundContextType;
export {};