Files
risuai/src/lib/UI/GUI/OptionInput.svelte
YH_KIM 5b0ca460a5 Support numeric values in inputs and enhance image generation configs
Updated `SelectInput` and `OptionInput` to allow `value` as `string | number`. Extended image generation configurations with new features, including `cfg_rescale`, `noise_schedule`, and vibe data handling. Improved the setup for reference images and added support for mnemonist dependency in the package manager.
2025-05-03 16:38:04 +09:00

10 lines
335 B
Svelte

<option value={value} selected={selected} class="bg-darkbg appearance-none">{@render children?.()}</option>
<script lang="ts">
interface Props {
value: string | number;
selected?: boolean;
children?: import('svelte').Snippet;
}
let { value, selected = false, children }: Props = $props();
</script>