<script setup>
import { inject } from 'vue';
import Button from '../Button/Button.vue';

const closeModal = inject('closeModal');
</script>

<template>
    <div data-ui-modal-close @click="closeModal">
        <slot />
    </div>
</template>
