Files
web/app/components/snackbar/Error.vue
2026-05-14 20:49:28 +07:00

26 lines
495 B
Vue

<template>
<div class="is-flex is-align-items-center is-gap-1">
<Icon
name="material-symbols:cancel-rounded"
:size="22"
class="has-text-danger-80"
/>
<p
v-html="content"
class="control is-expanded"
></p>
</div>
</template>
<script setup>
const props = defineProps({
content: String,
title: String,
});
const { $store } = useNuxtApp();
function cancel() {
$store.commit("updateStore", { name: "showmodal", data: undefined });
}
</script>