<template>
  <div class="custom-title">
    <div class="divider"></div>
    <div class="title">{{ title }}</div>
  </div>
</template>
<script>
export default {
  name: "CustomTitle",
  props: {
    title: {
      type: String,
      default: "",
    },
  },
};
</script>
<style lang="scss" scoped>
.custom-title {
  display: flex;
  align-items: center;
  .divider {
    width: 4px;
    height: 18px;
    background-color: #409eff;
    margin-right: 8px;
  }
  .title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }
}
</style>