mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-16 21:58:40 +00:00
17 lines
481 B
Vue
17 lines
481 B
Vue
|
<template>
|
||
|
<div class="card bg-base-100 shadow-xl sm:rounded-lg">
|
||
|
<div class="px-4 py-5 sm:px-6">
|
||
|
<h3 class="text-lg font-medium leading-6">
|
||
|
<slot name="title"></slot>
|
||
|
</h3>
|
||
|
<p v-if="$slots.subtitle" class="mt-1 max-w-2xl text-sm text-gray-500">
|
||
|
<slot name="subtitle"></slot>
|
||
|
</p>
|
||
|
<template v-if="$slots['title-actions']">
|
||
|
<slot name="title-actions"></slot>
|
||
|
</template>
|
||
|
</div>
|
||
|
<slot />
|
||
|
</div>
|
||
|
</template>
|