<script setup lang="ts">
import { inject } from "vue";

const openModal = inject<() => void>("open");
</script>

<template>
  <div class="trigger" @click="openModal">
    <slot />
  </div>
</template>

<style scoped lang="scss">
.trigger {
  height: min-content;
}
</style>
