Files
solidtime/resources/js/Components/Dashboard/DashboardCard.vue
Gregor Vostrak f14d83cd19 Merge branch 'main' of github.com:solidtime-io/solidtime into feature/dashboard_empty_states
# Conflicts:
#	resources/js/Components/Dashboard/DashboardCard.vue
#	resources/js/Components/Dashboard/RecentlyTrackedTasksCard.vue
2024-04-20 00:34:12 +02:00

23 lines
572 B
Vue

<template>
<section class="flex flex-col">
<CardTitle :title="title" :icon="icon"></CardTitle>
<div
class="rounded-lg bg-card-background border border-card-border flex-1 flex items-stretch">
<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 '@/Components/Common/CardTitle.vue';
defineProps<{
title: string;
icon?: Component;
}>();
</script>