docs(alert): update

This commit is contained in:
Benjamin Canac
2024-07-17 15:44:38 +02:00
parent dd532bb110
commit c3f747aee5
5 changed files with 151 additions and 6 deletions

View File

@@ -72,7 +72,7 @@ slots:
### Icon
Use the `icon` prop to show any icon from [Iconify](https://icones.js.org).
Use the `icon` prop to show an [Icon](/components/icon) inside the Button.
::component-code
---
@@ -115,7 +115,7 @@ props:
Use the `loading` prop to show a loading icon and disable the Button.
Use the `loading-icon` prop or globally in `appConfig.ui.icons.loading` to set a different icon.
Use the `loading-icon` prop to customize this icon. Defaults to `i-heroicons-arrow-path-20-solid`.
::component-code
---
@@ -130,6 +130,10 @@ slots:
Button
::
::tip
You can customize this icon globally in your `app.config.ts` under `ui.icons.loading` key.
::
### Disabled
Use the `disabled` prop to disable the Button.