mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 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`
|
* description?: `string`
|
||||||
* duration?: `number`
|
* duration?: `number`
|
||||||
* position?: `'top'` or `'top-right'` or `'top-left'` or `'bottom'` or `'bottom-right'` or `'bottom-left'`
|
* 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'`
|
* status?: `'info'` or `'warning'` or `'success'` or `'error'`
|
||||||
|
|
||||||
### Usage Example
|
### Usage Example
|
||||||
@@ -163,6 +164,7 @@ lib.defaultNotify(data)
|
|||||||
lib.defaultNotify({
|
lib.defaultNotify({
|
||||||
title = 'Notification title',
|
title = 'Notification title',
|
||||||
description = 'Notification description',
|
description = 'Notification description',
|
||||||
|
variant = 'left-accent',
|
||||||
status = 'success'
|
status = 'success'
|
||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in new issue
Block a user