<script lang="ts">
    import type { PropType } from 'vue'
    import { defineComponent } from 'vue'
    import { BasicTitle } from '/@/components/Basic'

    export default defineComponent({
        name: 'BasicModalHeader',
        components: { BasicTitle },
        props: {
            helpMessage: {
                type: [String, Array] as PropType<string | string[]>,
            },
            title: { type: String },
        },
        emits: ['dblclick'],
    })
</script>

<template>
    <BasicTitle :helpMessage="helpMessage">
        {{ title }}
    </BasicTitle>
</template>
