big update

This commit is contained in:
2023-07-27 15:36:52 +03:00
parent 6179e53af7
commit 154cfcfae1
17 changed files with 319 additions and 119 deletions
+19
View File
@@ -0,0 +1,19 @@
<script setup lang="ts">
const props = defineProps<{
title?: string
}>()
</script>
<template>
<div class="ui-card">
<div v-if="props.title" class="ui-card-head">
<h3 class="ui-card-title">{{ props.title }}</h3>
</div>
<div v-if="$slots.default" class="ui-card-body">
<slot name="default" />
</div>
<div v-if="$slots.actions" class="ui-card-actions">
<slot name="actions" />
</div>
</div>
</template>