mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore(components): improve props jsdoc
This commit is contained in:
@@ -25,7 +25,8 @@ export interface ModalProps extends DialogRootProps {
|
||||
portal?: boolean
|
||||
/**
|
||||
* Display a close button to dismiss the modal.
|
||||
* @defaultValue true ({ size: 'md', color: 'gray', variant: 'ghost' })
|
||||
* Will render with `{ size: 'md', color: 'gray', variant: 'ghost' }`.
|
||||
* @defaultValue true
|
||||
*/
|
||||
close?: ButtonProps | boolean
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user