hrms-mgt/src/modules/05_placement/components/Receive/DialogHeader.vue

30 lines
604 B
Vue
Raw Normal View History

2023-07-28 08:34:52 +07:00
<script setup lang="ts">
const props = defineProps({
title: String,
close: {
type: Function,
default: () => console.log("not function"),
},
});
const close = async () => {
props.close();
};
</script>
<template>
2023-09-05 11:23:43 +07:00
<q-toolbar class="q-py-sm">
2023-07-28 08:34:52 +07:00
<q-toolbar-title class="header-text">{{ title }}</q-toolbar-title>
<q-btn icon="close" unelevated round dense @click="close" style="color: #ff8080; background-color: #ffdede" />
</q-toolbar>
</template>
<style scoped lang="scss">
.header-text {
font-size: 18px;
font-weight: 600;
line-height: 26px;
color: #35373C;
}
</style>