18 lines
349 B
Vue
18 lines
349 B
Vue
<template>
|
|||
|
|
<div class="py-2 pr-3 w-full h-full relative">
|
||
|
|
<div class="text-black font-bold">{{ props.title }}</div>
|
||
|
|
<div class="mt-2 overflow-y-auto p-1 h-[96%]">
|
||
|
|
<slot />
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
interface Prop {
|
||
|
|
title: string
|
||
|
|
}
|
||
|
|
const props = defineProps<Prop>()
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped></style>
|