import { Button } from "@tensamin/ui"; import { toggleMute, useCall } from "../../store"; import { Mic, MicOff } from "lucide-react"; import { type CallButtonProps, iconScale, withTooltip } from "./tooltipButton"; export default function MuteButton({ className, iconSize, tooltip, portalContainer, }: CallButtonProps) { const micEnabled = useCall((state) => state.micEnabled); const button = ( ); return withTooltip(button, tooltip, portalContainer); }