Notification
Hello world!
This is a notification
Installation
npx @v-moravec/ui add notifications
Code will be added to ~/components/ui/notifications/. You can further customize it there.
Usage
const { addNotification } = useNotification()
addNotification({ title: 'Hello world!', description: 'This is a notification' })
Props
Name | Type |
---|---|
notification |
|
<UiNotifications
title="
"
time="
"
description="
"
color="
"
></UiNotifications>