fix: added basic custom actions component

This commit is contained in:
Shariq Ansari 2023-12-28 16:32:16 +05:30
parent 8dd063435d
commit 0bec38a321

View 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>