changes
This commit is contained in:
14
components/menu/MenuAction.vue
Normal file
14
components/menu/MenuAction.vue
Normal file
@@ -0,0 +1,14 @@
|
||||
<template>
|
||||
<a class="mr-3" @click="$emit('edit')">
|
||||
<SvgIcon v-bind="{name: 'pen1.svg', type: 'dark', size: 16}"></SvgIcon>
|
||||
</a>
|
||||
<a @click="remove()">
|
||||
<SvgIcon v-bind="{name: 'bin1.svg', type: 'dark', size: 16}"></SvgIcon>
|
||||
</a>
|
||||
</template>
|
||||
<script setup>
|
||||
const emit = defineEmits(['edit', 'remove'])
|
||||
const remove = function() {
|
||||
emit('remove')
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user