11 lines
254 B
Svelte
11 lines
254 B
Svelte
![]() |
<script lang="ts">
|
||
|
import Select from "./Select.svelte"
|
||
|
|
||
|
function onChange({ detail }: CustomEvent<string>) {
|
||
|
console.log(detail)
|
||
|
}
|
||
|
|
||
|
// TODO show the selected hardware
|
||
|
</script>
|
||
|
|
||
|
<Select options={["CPU", "GPU", "RAM"]} on:change={onChange} />
|