mirror of
https://github.com/versia-pub/frontend.git
synced 2025-12-06 00:18:20 +01:00
20 lines
416 B
Vue
20 lines
416 B
Vue
<script lang="ts" setup>
|
|
import { Toaster as Sonner, type ToasterProps } from "vue-sonner";
|
|
import "vue-sonner/style.css";
|
|
|
|
const props = defineProps<ToasterProps>();
|
|
</script>
|
|
|
|
<template>
|
|
<Sonner
|
|
class="toaster group"
|
|
v-bind="props"
|
|
:style="{
|
|
'--normal-bg': 'var(--popover)',
|
|
'--normal-text': 'var(--popover-foreground)',
|
|
'--normal-border': 'var(--border)',
|
|
|
|
}"
|
|
/>
|
|
</template>
|