tutorial layout
This commit is contained in:
parent
7b28a620a9
commit
3f051cdd8d
9 changed files with 116 additions and 23 deletions
|
|
@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue