mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-09 08:42:15 +01:00
23 lines
579 B
Vue
23 lines
579 B
Vue
<template>
|
|
<section class="flex overflow-hidden flex-col gap-1.5">
|
|
<CardTitle :title="title" :icon="icon"></CardTitle>
|
|
|
|
<div
|
|
class="flex-1 flex items-stretch rounded-lg bg-card-background border border-card-border">
|
|
<div class="w-full flex flex-col">
|
|
<slot></slot>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import type { Component } from 'vue';
|
|
import CardTitle from '@/packages/ui/src/CardTitle.vue';
|
|
|
|
defineProps<{
|
|
title: string;
|
|
icon?: Component;
|
|
}>();
|
|
</script>
|