<template>
  <a
    class="mr-3"
    @click="$emit('edit')"
  >
    <Icon name="material-symbols:edit-outline-rounded" />
  </a>
  <a
    @click="$emit('remove')"
    v-if="attrs.onRemove"
  >
    <Icon name="material-symbols:delete-outline-rounded" />
  </a>
</template>
<script setup>
import { useAttrs } from "vue";
const attrs = useAttrs();
const emit = defineEmits(["edit", "remove"]);
</script>
