<template>
    <div id="header">
        <div class="header-left">
            <headerLeftVue @setFileName="setFileName" :exportImportFileName="exportImportFileName"/>
        </div>
        <div class="header-right">
            <headerRightVue @setFileName="setFileName" :exportImportFileName="exportImportFileName" />
        </div>
    </div>
</template>
<script setup>
import {ref,watchEffect} from 'vue'
import headerLeftVue from "./headerLeft.vue";
import headerRightVue from "./headerRight.vue";
import store from '../../stores/blockly'

const exportImportFileName = ref('未命名')
const setFileName = (e)=>{
    exportImportFileName.value = e
}
</script>
<style lang="scss" scoped>
#header {
    width: 100%;
    height: 60px;
    display: flex;
    padding: 0 10px;

    .header-right{
        width: 100%;
    }
}
</style>