<script setup lang="ts">
defineProps<{
    centered?: boolean
}>()
</script>

<template>
<div class="panel-header" :style="`${centered ? 'text-align:center' : ''}`"><slot /></div>
</template>

<style scoped>
.panel-header {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

</style>
