<template>
    <div class="flex flex-col gap-[16px] bg-white p-[20px]">
        <div class="flex-row-between-center">
            <span>{{ title }}</span>
            <slot name="right" />
        </div>
        <div>
            <slot />
        </div>
    </div>
</template>

<script setup lang="ts">
defineProps({
    title: {
        type: String,
        default: ''
    }
})
</script>
<style scoped></style>
