<template>
  <div style='width: 12px;'></div>
  <el-icon color='black' class='backIcon'>
    <close @click='go(-1)' />
  </el-icon>
</template>

<script setup lang='ts'>
import { useRouter } from 'vue-router'
import { Close } from '@element-plus/icons-vue'
const { go } = useRouter()
</script>

<style scoped>
.backIcon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 25px;
  cursor: pointer;
}

.backIcon:hover {
  border-radius: 25px;
  background-color: lightgrey;
}
</style>
