"use client"; import { Volume2, VolumeX } from "lucide-react"; import { useSound } from "@/components/sound-provider"; import { Button, type ButtonProps } from "@/components/ui/button"; import { cn } from "@/lib/utils"; type SoundToggleProps = { ariaLabel?: string; mutedAriaLabel?: string; variant?: ButtonProps["variant"]; className?: string; iconClassName?: string; }; export function SoundToggle({ ariaLabel = "Mute sounds", mutedAriaLabel = "Unmute sounds", variant = "outline", className, iconClassName, }: SoundToggleProps) { const { isMuted, toggleMuted } = useSound(); return ( ); }