<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} />