using the new component

This commit is contained in:
2026-01-30 01:52:15 +00:00
parent c04bbbc553
commit 82789a300a

View File

@@ -1,7 +1,7 @@
<template>
<UHeader toggle-side="left" class="rounded-full border top-3 mb-6 mx-auto">
<template #left>
<h1 class="text-xl font-bold">Dashboard</h1>
<h1 class="text-xl font-bold">{{ props.title }}</h1>
</template>
<template #toggle>
<UDashboardSidebarToggle class="rounded-xl" />
@@ -11,9 +11,11 @@
<script lang="ts" setup>
const props = defineProps({
title: {
type: String,
required: false,
default: "Title"
}
})
</script>
<style>
</style>