<template>
  <div class="h-50 flex items-center border-b shrink-0">
    <div class="flex items-center justify-center w-23 h-23">
      <img v-if="icon" :src="icon" class="w-full h-full" />
    </div>
    <span class="flex-1 ml-5 text-base text-black">{{ title }}</span>
    <slot name="right"></slot>
  </div>
</template>

<script setup>
defineProps({
  icon: String,
  title: String,
});
</script>

<style lang="scss" scoped></style>
