mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
Update notify.md (#84)
This commit is contained in:
1 parent
89f00ae5d3
commit
5ec98b4050
1 file changed
+2
@@ -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'
|
||||
})
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user