<template>
  <div class="top-title">
    <svg-icon :icon-class="icon" size="26" />

    <div class="title">{{ title }}</div>
  </div>
</template>

<script lang="ts" setup>
const props = defineProps<{
  title: string;
  icon: string;
}>();
</script>

<style lang="scss" scoped>
.top-title {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 12px;
}

.title {
  margin-left: 8px;
  font-weight: bold;
  font-size: 16px;
  color: #666666;
  text-align: left;
}
</style>
