mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-21 21:33:02 +01:00
* feat: begin work on topbar refresh * feat: implement search input functionality * feat: add ScannerModal component based on scanner page * feat: add toggle to enable legacy topbar, remove scanner page * feat: update scanner menu item to use SidebarMenuButton for legacy header support * chore: lint * style: make margin and padding more consistent * feat: fun hack * fix: remove uneeded log and class=""
15 lines
239 B
Vue
15 lines
239 B
Vue
<script lang="ts" setup>
|
|
defineProps({
|
|
cmp: {
|
|
type: String,
|
|
default: "div",
|
|
},
|
|
});
|
|
</script>
|
|
|
|
<template>
|
|
<component :is="cmp" class="container mx-auto my-4 max-w-7xl px-4">
|
|
<slot />
|
|
</component>
|
|
</template>
|