<script lang="ts">
    export default {
        emits: ['closemodal'],
        props: ["content"]
    }
</script>
<template>
        <div class="modal">
            <div class="modal-content">
                <button class="closeBtn" @click="$emit('closemodal')">x</button>
                <slot></slot>
                <span v-html="content"></span>
            </div>
        </div>
</template>
<style lang="css" scoped>
    @import "assets/modal";

</style>