Update notify.md (#84)

This commit is contained in:
Scully authored and GitHub committed 2022-12-21 20:13:50 +01:00
1 parent 89f00ae5d3
commit 5ec98b4050
1 file changed
+2
+2
View File
@@ -152,6 +152,7 @@ lib.defaultNotify(data)
* description?: `string`
* duration?: `number`
* position?: `'top'` or `'top-right'` or `'top-left'` or `'bottom'` or `'bottom-right'` or `'bottom-left'`
* variant?: `'solid'` or `'subtle'` or `'left-accent'` or `'top-accent'`
* status?: `'info'` or `'warning'` or `'success'` or `'error'`
### Usage Example
@@ -163,6 +164,7 @@ lib.defaultNotify(data)
lib.defaultNotify({
title = 'Notification title',
description = 'Notification description',
variant = 'left-accent',
status = 'success'
})
```