react-sounds
Version:
A library of ready-to-play sound effects for React applications.
5 lines (4 loc) • 427 B
TypeScript
export { fetchSoundBlob, getCDNUrl, isSoundEnabled, makeRemoteSound, playSound, preloadSounds, setCDNUrl, setSoundEnabled, } from "./runtime";
export { useSound, useSoundEnabled, useSoundOnChange } from "./hooks";
export { Sound, SoundButton, SoundProvider } from "./components";
export type { GameSoundName, LibrarySoundName, NotificationSoundName, SoundCategory, SoundHookReturn, SoundOptions, UiSoundName, } from "./types";