16 lines
316 B
Vue
16 lines
316 B
Vue
<template>
|
|||
|
|
<section class="dhome-surface">
|
||
|
|
<header v-if="title" class="dhome-section__header">
|
||
|
|
<h2 class="dhome-section__title">{{ title }}</h2>
|
||
|
|
<slot name="header-extra" />
|
||
|
|
</header>
|
||
|
|
<slot />
|
||
|
|
</section>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script lang="ts" setup>
|
||
|
|
defineProps<{
|
||
|
|
title?: string
|
||
|
|
}>()
|
||
|
|
</script>
|