import AcademicCapIcon from '@heroicons/react/20/solid/AcademicCapIcon'; import ArrowPathIcon from '@heroicons/react/20/solid/ArrowPathIcon'; import LinkIcon from '@heroicons/react/20/solid/LinkIcon'; import PlayCircleIcon from '@heroicons/react/20/solid/PlayCircleIcon'; import SparklesIcon from '@heroicons/react/20/solid/SparklesIcon'; import StopCircleIcon from '@heroicons/react/20/solid/StopCircleIcon'; import { cx } from '@strudel.cycles/react'; import React, { useContext } from 'react'; // import { ReplContext } from './Repl'; import './Repl.css'; export function Header({ context }) { const { embedded, started, pending, isDirty, lastShared, activeCode, handleTogglePlay, handleUpdate, handleShuffle, handleShare, isZen, setIsZen, } = context; const isEmbedded = embedded || window.location !== window.parent.location; // useContext(ReplContext) return ( ); }