feat: some moving around

This commit is contained in:
2024-04-15 22:13:43 +02:00
parent 0254bc1ae5
commit dec205b234
86 changed files with 505 additions and 409 deletions

View File

@@ -8,14 +8,15 @@
export let input: NodeInput;
export let value: any;
export let id: string;
</script>
{#if input.type === "float"}
<Float bind:value />
<Float {id} bind:value />
{:else if input.type === "integer"}
<Integer bind:value />
<Integer {id} bind:value />
{:else if input.type === "boolean"}
<Checkbox bind:value />
<Checkbox {id} bind:value />
{:else if input.type === "select"}
<Select bind:value labels={input.labels} />
<Select {id} bind:value labels={input.labels} />
{/if}