chore(components): improve JSDoc

This commit is contained in:
Benjamin Canac
2024-06-11 18:23:56 +02:00
parent 655d9b2c97
commit ee3d2aa30f
27 changed files with 232 additions and 10 deletions

View File

@@ -19,6 +19,11 @@ export interface ToastProps extends Omit<ToastRootProps, 'asChild' | 'forceMount
icon?: string
avatar?: AvatarProps
color?: ToastVariants['color']
/**
* Display a list of actions:
* - under the title and description if multiline
* - next to the close button if not multiline
*/
actions?: ButtonProps[]
/**
* Display a close button to dismiss the toast.