chore(components): improve tsdoc

This commit is contained in:
Benjamin Canac
2025-03-04 11:58:31 +01:00
parent 629c54261a
commit 25e503bc83
38 changed files with 274 additions and 1 deletions

View File

@@ -22,9 +22,19 @@ export interface ToastProps extends Pick<ToastRootProps, 'defaultOpen' | 'open'
as?: any
title?: StringOrVNode
description?: StringOrVNode
/**
* @IconifyIcon
*/
icon?: string
avatar?: AvatarProps
/**
* @defaultValue 'primary'
*/
color?: ToastVariants['color']
/**
* The orientation between the content and the actions.
* @defaultValue 'vertical'
*/
orientation?: ToastVariants['orientation']
/**
* Display a list of actions: