reusable header

This commit is contained in:
2025-12-22 21:15:19 +00:00
parent 8f25837bf4
commit be647b36a4

View File

@@ -0,0 +1,25 @@
<script setup lang="ts">
import { literal, string } from 'zod';
const props = defineProps({
title: {
type: String,
required: false,
default: "Title"
}
})
</script>
<template>
<UHeader :title="props.title" toggle-side="left">
<template #toggle>
<!---<UDashboardSidebarCollapse />-->
<UDashboardSidebarToggle />
</template>
</UHeader>
</template>
<style scoped>
</style>