docs: prevent UNotifications slot #description override

Otherwise it alters the display of the Notification examples where actions moves under the title.
This commit is contained in:
Benjamin Canac
2023-11-14 17:21:39 +01:00
parent 7cb987de42
commit 4dbc6240c5
2 changed files with 1 additions and 5 deletions

View File

@@ -17,10 +17,6 @@
<template #title="{ title }">
<span v-html="title" />
</template>
<template #description="{ description }">
<span v-html="description" />
</template>
</UNotifications>
</div>
</template>

View File

@@ -3,5 +3,5 @@ const toast = useToast()
</script>
<template>
<UButton label="Show toast" @click="toast.add({ title: 'Notification <i>italic</i>', description: 'This is an <u>underlined</u> and <b>bold</b> notification.' })" />
<UButton label="Show toast" @click="toast.add({ title: 'This is an <u>underlined</u> and <b>bold</b> notification.' })" />
</template>