Make SpinBox types more specific, and add default max value.
This commit is contained in:
parent
df09e34927
commit
9c2035e2d1
@ -9,10 +9,10 @@
|
||||
import ConfigInput from "./ConfigInput.svelte";
|
||||
import RevertButton from "./RevertButton.svelte";
|
||||
|
||||
export let value: any;
|
||||
export let defaultValue: any;
|
||||
export let value: number;
|
||||
export let defaultValue: number;
|
||||
export let min = 0;
|
||||
export let max: number | undefined = undefined;
|
||||
export let max = 9999;
|
||||
</script>
|
||||
|
||||
<Row --cols={13}>
|
||||
|
@ -9,10 +9,10 @@
|
||||
import ConfigInput from "./ConfigInput.svelte";
|
||||
import RevertButton from "./RevertButton.svelte";
|
||||
|
||||
export let value: any;
|
||||
export let defaultValue: any;
|
||||
export let value: number;
|
||||
export let defaultValue: number;
|
||||
export let min = 0;
|
||||
export let max: number | undefined = undefined;
|
||||
export let max = 9999;
|
||||
</script>
|
||||
|
||||
<Row --cols={13}>
|
||||
|
Loading…
Reference in New Issue
Block a user