tutorial layout

This commit is contained in:
Felix Roos
2022-02-18 14:00:35 +01:00
parent 7b28a620a9
commit 3f051cdd8d
9 changed files with 116 additions and 23 deletions
+1 -6
View File
@@ -18,12 +18,7 @@ function MiniRepl({ tune }) {
return (
<>
<textarea value={code} onChange={(e) => setCode(e.target.value)} />
<button
className="flex-none w-full border border-gray-700 p-2 bg-slate-700 hover:bg-slate-500"
onClick={() => togglePlay()}
>
{cycle.started ? 'pause' : 'play'}
</button>
<button onClick={() => togglePlay()}>{cycle.started ? 'pause' : 'play'}</button>
</>
);
}