mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-31 20:28:09 +01:00
docs: fix notification preset for closeButton and actionButton
This commit is contained in:
@@ -189,7 +189,7 @@ function onCallback () {
|
|||||||
|
|
||||||
Use the `close-button` prop to hide or customize the close button on the Notification.
|
Use the `close-button` prop to hide or customize the close button on the Notification.
|
||||||
|
|
||||||
You can pass all the props of the [Button](/elements/button) component to customize it through the `close-button` prop or globally through `ui.notifications.default.closeButton`.
|
You can pass all the props of the [Button](/elements/button) component to customize it through the `close-button` prop or globally through `ui.notification.default.closeButton`.
|
||||||
|
|
||||||
::component-card
|
::component-card
|
||||||
---
|
---
|
||||||
@@ -230,7 +230,7 @@ const toast = useToast()
|
|||||||
```
|
```
|
||||||
::
|
::
|
||||||
|
|
||||||
Like for `closeButton`, you can pass all the props of the [Button](/elements/button) component inside the action or globally through `ui.notifications.default.actionButton`.
|
Like for `closeButton`, you can pass all the props of the [Button](/elements/button) component inside the action or globally through `ui.notification.default.actionButton`.
|
||||||
|
|
||||||
::component-card
|
::component-card
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user