Ben Lin
2024-06-19 f96d4ed77603ca1f908dcdc4a51bd2ce2178d10c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<template>
  <BasicTitle :helpMessage="helpMessage">
    {{ title }}
  </BasicTitle>
</template>
<script lang="ts" setup>
  import type { PropType } from 'vue';
  import { BasicTitle } from '@/components/Basic';
 
  defineOptions({ name: 'BasicModalHeader' });
 
  defineProps({
    helpMessage: {
      type: [String, Array] as PropType<string | string[]>,
    },
    title: { type: String },
  });
</script>