<template>
  <div class="main-box">
    <PageToolbar class="mt1 mb10" />
    <ClauseLabel :detail-api="getAnnoHomeDetail" />
  </div>
</template>
<script lang="ts" setup>
import { getAnnoHomeDetail } from "@/api/modules/annotation/home";
import { usePageLeave } from "@/hooks/usePageLeave";
import ClauseLabel from "@/components/ClauseLabel/index.vue";
// hooks
usePageLeave("AnnotationHome");
</script>
<style lang="scss" scoped>
.main-box {
  flex-direction: column;
  padding: 0;
  padding-bottom: 10px;
  .clause-label {
    box-sizing: border-box;
    flex: 1;
    height: 0;
    padding-right: 10px;
    padding-left: 10px;
  }
}
</style>
