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

@@ -15,6 +15,9 @@ const selectMenu = tv({ extend: tv(theme), ...(appConfigSelectMenu.ui?.selectMen
export interface SelectMenuItem {
label?: string
/**
* @IconifyIcon
*/
icon?: string
avatar?: AvatarProps
chip?: ChipProps
@@ -40,8 +43,17 @@ export interface SelectMenuProps<T extends MaybeArrayOfArrayItem<I>, I extends M
* @defaultValue true
*/
searchInput?: boolean | InputProps
/**
* @defaultValue 'primary'
*/
color?: SelectMenuVariants['color']
/**
* @defaultValue 'outline'
*/
variant?: SelectMenuVariants['variant']
/**
* @defaultValue 'md'
*/
size?: SelectMenuVariants['size']
required?: boolean
/**