fix: styling

This commit is contained in:
Timothy J. Baek 2024-03-16 02:43:51 -07:00
parent ffeae78b88
commit a636e784bc
3 changed files with 20 additions and 2 deletions

View file

@ -1,8 +1,15 @@
<script lang="ts">
import { DropdownMenu } from 'bits-ui';
import { createEventDispatcher } from 'svelte';
const dispatch = createEventDispatcher();
</script>
<DropdownMenu.Root>
<DropdownMenu.Root
onOpenChange={(state) => {
dispatch('change', state);
}}
>
<DropdownMenu.Trigger>
<slot />
</DropdownMenu.Trigger>