Use Sounds

How to play sounds

You can add the audios in the public/assets/audios, then add the same in the file (opens in a new tab) then use the following steps to play the audios

import { Audios, playSound } from "@/utils/audioUtils";
 
<button onClick={() => playSound(Audios.HeroSimpleCelebration1)}>
  Play Audio
</button>