From 5c292cf6208e14346321c4be0fcd206075b1f715 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 16 Nov 2024 14:27:16 +0100 Subject: [PATCH] chore(Alert/Toast): improve tsdoc --- src/runtime/components/Alert.vue | 1 + src/runtime/components/Toast.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/runtime/components/Alert.vue b/src/runtime/components/Alert.vue index a3377c0b..d157b29a 100644 --- a/src/runtime/components/Alert.vue +++ b/src/runtime/components/Alert.vue @@ -28,6 +28,7 @@ export interface AlertProps { * Display a list of actions: * - under the title and description if multiline * - next to the close button if not multiline + * `{ size: 'xs' }`{lang="ts-type"} */ actions?: ButtonProps[] /** diff --git a/src/runtime/components/Toast.vue b/src/runtime/components/Toast.vue index c06fe8a0..7707743a 100644 --- a/src/runtime/components/Toast.vue +++ b/src/runtime/components/Toast.vue @@ -28,6 +28,7 @@ export interface ToastProps extends Pick