feat: Updates to dashboard and delete confirmations
All checks were successful
Build and Push App Image / build-and-push (push) Successful in 34s
All checks were successful
Build and Push App Image / build-and-push (push) Successful in 34s
This commit is contained in:
24
frontend/src/components/DangerZonePanel.vue
Normal file
24
frontend/src/components/DangerZonePanel.vue
Normal file
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<section class="danger-zone" :aria-labelledby="titleId">
|
||||
<h3 :id="titleId" class="danger-zone-title mb-2">{{ title }}</h3>
|
||||
<p class="danger-zone-copy mb-3">{{ description }}</p>
|
||||
<slot></slot>
|
||||
</section>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
defineProps({
|
||||
titleId: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
default: "Danger Zone",
|
||||
},
|
||||
description: {
|
||||
type: String,
|
||||
default: "This action is permanent and cannot be undone.",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user