reusable header
This commit is contained in:
25
app/components/dashboard/header.vue
Normal file
25
app/components/dashboard/header.vue
Normal 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>
|
||||
Reference in New Issue
Block a user