chore(components): improve jsdoc

This commit is contained in:
Benjamin Canac
2024-07-01 16:22:08 +02:00
parent ccbaf6ea15
commit d2be8fdf7d
5 changed files with 11 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ export interface ToastProps extends Pick<ToastRootProps, 'defaultOpen' | 'open'
actions?: ButtonProps[]
/**
* Display a close button to dismiss the toast.
* Will render with `{ size: 'md', color: 'gray', variant: 'link' }`.
* `{ size: 'md', color: 'gray', variant: 'link' }`
* @defaultValue true
*/
close?: ButtonProps | boolean