fix: added basic custom actions component
This commit is contained in:
parent
8dd063435d
commit
0bec38a321
16
frontend/src/components/CustomActions.vue
Normal file
16
frontend/src/components/CustomActions.vue
Normal file
@ -0,0 +1,16 @@
|
||||
<template>
|
||||
<Button
|
||||
v-for="action in actions"
|
||||
:label="action.label"
|
||||
@click="action.onClick()"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
const props = defineProps({
|
||||
actions: {
|
||||
type: Object,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
</script>
|
||||
Loading…
x
Reference in New Issue
Block a user