Reorganize ui
This commit is contained in:
parent
e841106029
commit
bf5eb54932
18 changed files with 31 additions and 28 deletions
|
|
@ -1,37 +0,0 @@
|
|||
import { spawnNewFunctionDraftDigith } from "./scrowlStore";
|
||||
|
||||
type Props = {
|
||||
// TODO
|
||||
}
|
||||
|
||||
export function Controls(props: Props) {
|
||||
return (
|
||||
<aside>
|
||||
<article>
|
||||
<header>Controls</header>
|
||||
|
||||
<div style={{ display: "flex", gap: "0.5rem", "flex-wrap": "wrap" }}>
|
||||
<button
|
||||
class="outline secondary"
|
||||
onClick={spawnNewFunctionDraftDigith}
|
||||
style={{ padding: "2px 8px", "font-size": "0.8rem", width: "auto" }}
|
||||
>
|
||||
+fn
|
||||
</button>
|
||||
|
||||
<button
|
||||
class="outline secondary"
|
||||
style={{ padding: "2px 8px", "font-size": "0.8rem", width: "auto" }}
|
||||
disabled
|
||||
>
|
||||
+signal
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<small>Language v0.1.0</small>
|
||||
</footer>
|
||||
</article>
|
||||
</aside>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue