homebox/frontend/components/Base/ActionsDivider.vue

15 lines
542 B
Vue
Raw Permalink Normal View History

2022-09-01 22:32:03 +00:00
<template>
2022-09-03 09:17:57 +00:00
<div class="divider">
<div class="btn-group min-w-[180px] flex-nowrap">
<button name="options" class="btn btn-sm btn-primary" @click="$emit('edit')">
2022-09-03 09:17:57 +00:00
<Icon name="heroicons-pencil" class="h-5 w-5 mr-1" aria-hidden="true" />
<span> Edit </span>
</button>
<button name="options" class="btn btn-sm btn-primary" @click="$emit('delete')">
2022-09-03 09:17:57 +00:00
<Icon name="heroicons-trash" class="h-5 w-5 mr-1" aria-hidden="true" />
<span> Delete </span>
</button>
2022-09-01 22:32:03 +00:00
</div>
</div>
</template>