This commit is contained in:
release-bot
2026-02-08 22:56:41 +01:00
parent 72d6cd6ea2
commit c7f808ce2d
14 changed files with 193 additions and 113 deletions

View File

@@ -1,7 +1,7 @@
<script lang="ts">
import type { NodeInput } from '@nodarium/types';
import { InputCheckbox, InputNumber, InputSelect, InputVec3 } from './index';
import { InputCheckbox, InputNumber, InputSelect, InputShape, InputVec3 } from './index';
interface Props {
input: NodeInput;
@@ -19,6 +19,8 @@
max={input?.max}
step={input?.step}
/>
{:else if input.type === 'shape'}
<InputShape bind:value={value as number[]} />
{:else if input.type === 'integer'}
<InputNumber bind:value={value as number} min={input?.min} max={input?.max} step={1} />
{:else if input.type === 'boolean'}