anki/ts/editor-toolbar/SelectOption.svelte

12 lines
307 B
Svelte
Raw Normal View History

2021-04-15 15:59:52 +02:00
<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
2021-03-31 15:40:11 +02:00
<script lang="typescript">
export let label: string;
export let value: string;
export let selected = false;
</script>
<option {selected} {value}>{label}</option>