import {useState, React} from "react";
import jQuery from "jquery";
import Play from '@mui/icons-material/PlayArrow';
import Pause from '@mui/icons-material/Pause';
export const render = false;
const PlayIcon = () => {
return (
);
}
const PauseIcon = () => {
return (
)
}
export function Player() {
const [isPlaying, setPlaying] = useState(false);
window.isPlaying = isPlaying;
return (
serious.FM
{isPlaying == false && (
{ setPlaying(!isPlaying); togglePlayback(); } } />)}
{isPlaying && ( { setPlaying(!isPlaying); togglePlayback(); }} />)}
)};