import React from 'react'; import { Icons } from '@/components/ui/Icon'; import { DesktopVolumeControl } from './DesktopVolumeControl'; interface DesktopLeftControlsProps { isPlaying: boolean; currentTime: number; duration: number; volume: number; isMuted: boolean; showVolumeBar: boolean; volumeBarRef: React.RefObject; onTogglePlay: () => void; onSkipForward: () => void; onSkipBackward: () => void; onToggleMute: () => void; onVolumeChange: (e: React.MouseEvent) => void; onVolumeMouseDown: (e: React.MouseEvent) => void; formatTime: (seconds: number) => string; } export function DesktopLeftControls({ isPlaying, currentTime, duration, volume, isMuted, showVolumeBar, volumeBarRef, onTogglePlay, onSkipForward, onSkipBackward, onToggleMute, onVolumeChange, onVolumeMouseDown, formatTime }: DesktopLeftControlsProps) { return (
{/* Play/Pause */} {/* Skip Backward 10s */} {/* Skip Forward 10s */} {/* Volume */} {/* Time */} {formatTime(currentTime)} / {formatTime(duration)}
); }