mirror of
https://github.com/hay-kot/homebox.git
synced 2024-11-16 13:48:44 +00:00
17 lines
448 B
Vue
17 lines
448 B
Vue
<template>
|
|
<div class="grid grid-cols-1 md:grid-cols-4 gap-10 py-6">
|
|
<div class="col-span-3">
|
|
<h4 class="mb-1 text-lg font-semibold">
|
|
<slot name="title"></slot>
|
|
</h4>
|
|
<p class="text-sm">
|
|
<slot></slot>
|
|
</p>
|
|
</div>
|
|
<BaseButton class="btn-primary mt-auto" @click="$emit('action')">
|
|
<slot name="button">
|
|
<slot name="title"></slot>
|
|
</slot>
|
|
</BaseButton>
|
|
</div>
|
|
</template>
|