wip
This commit is contained in:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user