<script setup>
import { defineEmits } from "vue";

const emit = defineEmits(["onClick"]);

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

<template>
  <v-tooltip location="bottom" text="수정">
    <template v-slot:activator="{ props }">
      <v-btn
        @click="onClick"
        class="ma-1"
        icon="mdi-pencil"
        color="warning"
        density="comfortable"
        elevation="0"
        size="small"
        v-bind="props"
      >
      </v-btn>
    </template>
  </v-tooltip>
</template>
