docs: fix notification preset for closeButton and actionButton

This commit is contained in:
Benjamin Canac
2023-05-29 22:45:33 +02:00
parent 4458656be5
commit 4a99d6a7bb

View File

@@ -189,7 +189,7 @@ function onCallback () {
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
---
@@ -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
---