<script lang="ts" setup>
import ZhTitle from "@/components/title/index.vue";
import { titleProps } from "@/components/title/title";

defineOptions({
  name: "ZhModule",
  // inheritAttrs: false,
});

defineProps(titleProps);
</script>

<template>
  <div v-bind="$attrs">
    <zh-title v-bind="$props">
      <template #right>
        <slot name="header"></slot>
      </template>
    </zh-title>
    <div class="h-[calc(100%-44px)] overflow-hidden">
      <slot></slot>
    </div>
  </div>
</template>
