<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="ts">
    export let choices: string[];
    export let value: number = 0;
</script>

<select bind:value class="form-select">
    {#each choices as choice, idx}
        <option value={idx}>{choice}</option>
    {/each}
</select>
