chore(components): improve tsdoc

This commit is contained in:
Benjamin Canac
2025-03-04 11:58:31 +01:00
parent 629c54261a
commit 25e503bc83
38 changed files with 274 additions and 1 deletions

View File

@@ -21,12 +21,24 @@ export interface SeparatorProps extends Pick<_SeparatorProps, 'decorative'> {
as?: any
/** Display a label in the middle. */
label?: string
/** Display an icon in the middle. */
/**
* Display an icon in the middle.
* @IconifyIcon
*/
icon?: string
/** Display an avatar in the middle. */
avatar?: AvatarProps
/**
* @defaultValue 'neutral'
*/
color?: SeparatorVariants['color']
/**
* @defaultValue 'xs'
*/
size?: SeparatorVariants['size']
/**
* @defaultValue 'solid'
*/
type?: SeparatorVariants['type']
/**
* The orientation of the separator.