This commit is contained in:
Timothy Jaeryang Baek
2025-12-09 17:19:42 -05:00
parent 9b24cddef6
commit 307b37d5e2
2 changed files with 26 additions and 5 deletions
@@ -15,6 +15,8 @@
{ value: 'top', label: $i18n.t('Top') }
];
export let onChange: (value: string) => void = () => {};
let open = false;
</script>
@@ -44,6 +46,7 @@
on:click={() => {
value = item.value;
open = false;
onChange(value);
}}
>
{item.label}