<template>
  <div style="padding: 0 15px" class="flex align-center" @click="toggleClick">
    <el-icon size="20px" v-if="isActive" color="#5a5e66"><Fold /></el-icon>
    <el-icon size="20px" v-else color="#5a5e66"><Expand /></el-icon>
  </div>
</template>

<script setup>
defineProps({
  isActive: {
    type: Boolean,
    default: false,
  },
});

const emit = defineEmits();
const toggleClick = () => {
  emit("toggleClick");
};
</script>

