<!--
Copyright: Ankitects Pty Ltd and contributors
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
-->
<script lang="typescript">
    import { setContext } from "svelte";
    import { dropdownKey } from "./contextKeys";

    export let id: string;

    setContext(dropdownKey, null);
</script>

<style lang="scss">
    div {
        background-color: var(--frame-bg);
        border-color: var(--medium-border);
    }
</style>

<div {id} class="dropdown-menu">
    <slot />
</div>
