chore(Alert): rename close event to update:open for consistency

This commit is contained in:
Benjamin Canac
2024-09-18 17:31:42 +02:00
parent 500b4727e8
commit a70ba04fc3
2 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ props:
Use the `close` prop to display a [Button](/components/button) to dismiss the Alert.
::tip
A `close` event will be emitted when the close button is clicked.
An `update:open` event will be emitted when the close button is clicked.
::
Use the `close-icon` prop to customize the button [Icon](/components/icon). Defaults to `i-heroicons-x-mark-20-solid`.