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

@@ -25,7 +25,7 @@ export interface ModalProps extends DialogRootProps {
portal?: boolean
/**
* Display a close button to dismiss the modal.
* Will render with `{ size: 'md', color: 'gray', variant: 'ghost' }`.
* `{ size: 'md', color: 'gray', variant: 'ghost' }`
* @defaultValue true
*/
close?: ButtonProps | boolean