<script setup lang="ts">
import type { Node } from '@vue-flow/core';
import { onMounted } from 'vue';
import { HJInterNodeData, HJNodeData } from '../types/comTypes';
import Basic from './com/basic.vue';

// 即使外部定义的类型数据再多，传进来的也是Node类型。
const props = defineProps<HJInterNodeData>();

onMounted(() => {
  console.log('mounted', props);
});
</script>

<template>
    <Basic v-bind="props" >
      default-4
      <template #header>
        header-1
      </template>
    </Basic>
</template>

<style scoped lang="less"></style>
