{playing ? (
) : (
)}
{/* Current time: fixed width so it doesn't thrash */}
{fmt(time)}
{/* Scrub track */}
{/* Duration: fixed width */}
{fmt(duration)}
);
}
function IconButton({ children, onClick, title }) {
const [hover, setHover] = React.useState(false);
return (