import AcademicCapIcon from '@heroicons/react/20/solid/AcademicCapIcon'; import CommandLineIcon from '@heroicons/react/20/solid/CommandLineIcon'; 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'; const isEmbedded = window.location !== window.parent.location; export function Header({ context }) { const { started, pending, isDirty, lastShared, activeCode, handleTogglePlay, handleUpdate, handleShuffle, handleShare, isZen, setIsZen, } = context; // useContext(ReplContext) return ( ); }