chore(Alert/Toast): improve tsdoc

This commit is contained in:
Benjamin Canac
2024-11-16 14:27:16 +01:00
parent c0837059a9
commit 5c292cf620
2 changed files with 2 additions and 0 deletions

View File

@@ -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[]
/**

View File

@@ -28,6 +28,7 @@ export interface ToastProps extends Pick<ToastRootProps, 'defaultOpen' | 'open'
* 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[]
/**