mirror of
https://codeberg.org/uzu/strudel
synced 2026-07-29 08:01:50 -04:00
tutorial layout
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user