SectionTitle.vue 582 Bytes
<template>
  <div class="title">
    <img class="icon" :src="titleIcon" />
    <span class="title-text">{{ title }}</span>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default: ''
    },
    titleIcon: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>

.title {
    padding:11px 0;
  display: flex;
  align-items: center;
  .icon {
    width: 18px;
    height: 18px;
  }
  .title-text {
    color: #222222;
    font-size: 15px;
    font-weight: 500;
    margin-left: 6px;
  }
}
 
</style>