docs: improve notification in demo

This commit is contained in:
Benjamin Canac
2023-09-12 11:05:16 +02:00
parent 6f77ee80ce
commit a8f643939e

View File

@@ -81,7 +81,15 @@ watch(sectionVisible, () => {
</div>
<div :ref="(el) => (refs[5] = el)" class="col-span-3 row-span-8 gap-6 flex flex-col justify-between animate-left">
<UNotification :id="1" title="Notification" description="This is a notification!" icon="i-heroicons-command-line" :ui="{ shadow: 'shadow' }" />
<UNotification
:id="1"
title="Notification"
description="This is a notification!"
icon="i-heroicons-command-line"
:ui="{ shadow: 'shadow' }"
:close-button="null"
:timeout="30000"
/>
<TabsExampleItemCustomSlot />