chore(components): add lang ts-type on close buttons jsdoc

This commit is contained in:
Benjamin Canac
2024-07-17 15:25:28 +02:00
parent a155e7c1a7
commit 11b4dfefa7
5 changed files with 5 additions and 5 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.
* `{ size: 'md', color: 'gray', variant: 'link' }`
* `{ size: 'md', color: 'gray', variant: 'link' }`{lang="ts-type"}
* @defaultValue true
*/
close?: ButtonProps | boolean