<template>
  <div class="panel-header">
    <span class="icon"></span>
    <span class="title-text">{{ title }}</span>
  </div>
</template>
<script setup>
import { onMounted, ref } from 'vue'

const props = defineProps({
  title: {
    type: String,
    default: ''
  }
})
</script>
<style scoped lang="scss">
.panel-header { 
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.icon {
  display: inline-block;
  width: 5px;
  height: 18px;
  background: linear-gradient(180deg, #91c4f1 0%, #5892e0 100%);
  border-radius: 2px;
  margin-right: 4px;
}
.title-text {
  font-weight: 500;
  font-size: 16px;
  color: #4a4a4a;
  line-height: 16px;
}
</style>
