Please revisit this thing

This commit is contained in:
kolaflash
2025-12-29 18:56:04 +01:00
parent 74d22d425d
commit 398f88ff94
5 changed files with 111 additions and 54 deletions
+18 -1
View File
@@ -172,7 +172,24 @@ const DevTools: Component<{ gameContainer: HTMLElement }> = ({
<FileBrowser root={scenes} handler={setCurrentScene} />
<FileBrowser root={entities} handler={setActiveEntity} />
<RemoteItemList fetchItems={async () => []} />
<RemoteItemList
name={"Sample list"}
handler={console.log}
fetch={async () => [
{
label: "foo",
isActive: false,
},
{
label: "bar",
isActive: false,
},
{
label: "lol",
isActive: true,
},
]}
/>
</div>
<div class="tool-bar-resize" onMouseDown={startResizing}></div>
</div>