<script setup lang="ts">
    defineProps(['title']);
</script>

<template>
    <div class="bg-primary dashboard-item-header">
        {{ title }}
    </div>
    <div class="dashboard-item-content">
        <slot></slot>
    </div>
</template>

<style scoped>
    .dashboard-item-header {
        padding: 2px 10px;
    }

    .dashboard-item-content {
        background-color: white;
    }
</style>
